reflex icon indicating copy to clipboard operation
reflex copied to clipboard

[REF-2811] `rx.section` default size 3 is "too big"

Open masenf opened this issue 1 year ago β€’ 2 comments

Describe the bug The nice thing about the rx.section (aside from being semantic) is that it adds healthy margins between page content areas... however the default size="3" is too much space and does not really look good.

I propose changing the default to size="2" so that downstream users don't need to change the not-great-looking default.

Expected behavior The default should "look good"

Screenshots Here is the default section spacing

image

And with size="2"

image

Specifics (please complete the following information):

  • Python Version: 3.11.8
  • Reflex Version: 0.5.0a1

From SyncLinear.com | REF-2811

masenf avatar May 10 '24 18:05 masenf

Hey @masenf !! Please assign this to me under GSSoC'24..

kusumdesai avatar May 11 '24 16:05 kusumdesai

@kusumdesai check out how we override the size for the radix Container component for an example of how this is done.

masenf avatar May 11 '24 16:05 masenf

Merged in #3406

picklelo avatar Jun 03 '24 00:06 picklelo