You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I have checked if the bug already has been reported
For which framework/library you are reporting the bug
Angular
Component name
datepicker
Description
There seems to be inconsistencies between line-height for label in datepicker component and other input components (dropdown, label + native HTML input).
For label elements that we use next to native HTML input it also seems to be set to 1.25rem in form mixins
However, datepickerlabel does not have any line-height set in transitional styles and therefore line-height from _body-default mixin is being used, which is only 1.125rem
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response
The text was updated successfully, but these errors were encountered:
EldRoos
changed the title
Datepicker label line-height does not match other inputs
Datepicker: Label line-height does not match other inputs
Sep 26, 2024
Looks like this problem is in React too. In the design it is centered.
Edit: Ok I misunderstood this. Was looking at datepicker icon, which is not centered but should be.
Label have line height 20px in design, which is 1.25 rem. Correct, so the code should be changed.
Bug already reported?
For which framework/library you are reporting the bug
Angular
Component name
datepicker
Description
There seems to be inconsistencies between
line-height
forlabel
indatepicker
component and other input components (dropdown, label + native HTML input).For
dropdown
it seems to be set to1.25rem
in transitional stylesFor
label
elements that we use next to native HTML input it also seems to be set to1.25rem
in form mixinsHowever,
datepicker
label
does not have anyline-height
set in transitional styles and thereforeline-height
from _body-default mixin is being used, which is only1.125rem
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response
The text was updated successfully, but these errors were encountered: