Expand description
Breakpoint selection and proportional layout scaling (RGL-style).
Structs§
- Breakpoint
Spec - Describes one responsive breakpoint (usually paired with CSS media queries).
Functions§
- scale_
layout_ cols - Scale
x/wwhen column count changes (React-Grid-Layout style).h/yare left unchanged; run acrate::Compactorafterward if needed. - select_
breakpoint - Pick the breakpoint with the largest
min_width_pxsuch thatcontainer_width_px >= min_width_px.breakpointsshould be sorted bymin_width_pxascending.