#108582Wrong border radius for big input fields
Description
The border radius is given in em units instead of rem
The combination of input fields and buttons with different font-sizes looks not so good.
For other components .75em is no issue as these comnponents do not have a font-size set and thereby are already use :root font-size of 16px.
So chainging this to .75rem will just work.
——
On the somehow not ideal design decision to use em instead of rem for border-radius
For most elements the border-radius must visually fit to other outer components:
—> Use rem so all components have identical border-radius.
Only for some graphical elements like “badge-pill”, “checkbox” etc. the border-radius must fit to the font-size of the element itself:
—> Use em so the border-radius changes with font-size.
—> Or: Use rem so the border-radius visually fits with all outer components.
Reviews 1
Related issues 1
History 34
-
Ayke Halder changed Related to #108173 <span data-processor="relativetime" data-value="2025-12-30T10:53:32+00:00" > 12/30/25, 10:53 </span>
-
Ayke Halder changed description <span data-processor="relativetime" data-value="2025-12-30T11:00:21+00:00" > 12/30/25, 11:00 </span>
-
Ayke Halder changed description <span data-processor="relativetime" data-value="2025-12-30T11:10:56+00:00" > 12/30/25, 11:10 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 92232 status
NewUnder Review <span data-processor="relativetime" data-value="2025-12-30T15:59:32+00:00" > 12/30/25, 15:59 </span>