Fix card div height not scaling with react-grid-layout div #238

Closed
opened 2026-04-10 13:37:09 +00:00 by a24vinla · 1 comment
Collaborator

When vertically scaling the cards the inner div does not get bigger. This is not the case when scaling horizontally.

The card div:
image
The react-grid-layout div:
image

When vertically scaling the cards the inner div does not get bigger. This is not the case when scaling horizontally. The card div: ![image](/attachments/95617840-c581-45d0-b8e2-3fa1bb120192) The react-grid-layout div: ![image](/attachments/9257c154-fe8b-4df7-9358-82738243ea36)
101 KiB
116 KiB
Collaborator

I was messing around and found that changing the card.module.css files properties:
display: flex;
flex-direction: column;
width: 100%;
height: 100%;

This fixed the issue, i will submit a pull request.

I was messing around and found that changing the card.module.css files properties: display: flex; flex-direction: column; width: 100%; height: 100%; This fixed the issue, i will submit a pull request.
Sign in to join this conversation.
No milestone
No project
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#238
No description provided.