fuselage
fuselage copied to clipboard
fix(fuselage): Responsive `CardControls`
Proposed changes (including videos or screenshots)
Added flex-wrap in the CSS of Cards for CardControl component. Things that have been kept in mind are:-
- Wrap is not essential for horizontal cards in desktop view.
- Wrap is enabled for horizontal cards in mobile view.
- In every other case, flex-wrap is essential for responsive behaviour.
- Made Carcontrol into a box component for better integration.
https://github.com/user-attachments/assets/ac6b0c39-c7a3-4dc8-ba7e-c592d18bbc4b
Issue(s)
Closes #1440 #31614
Further comments
There are other ways to go around it but this felt appropriate and fixes the issue.