csnx icon indicating copy to clipboard operation
csnx copied to clipboard

Support button groups

Open jamesmockett opened this issue 10 months ago • 3 comments

What are you changing?

  • Adds collapseUntil option to Inline layout component to allow collapsing into a single column below a given breakpoint.
  • Horizontally centre button content by default. (This only has an affect when a button is stretched beyond its intrinsic default width.)

Why?

  • This is to enable support for button groups where buttons are laid out horizontally at their default intrinsic width on larger viewports, but stretch to full width and stack horizontally on smaller viewports.

Images

Below tablet breakpoint

Screenshot 2024-05-14 at 17 54 49 Screenshot 2024-05-14 at 17 52 39

At tablet breakpoint

Screenshot 2024-05-14 at 17 53 08 Screenshot 2024-05-14 at 17 45 44

jamesmockett avatar Apr 11 '24 15:04 jamesmockett