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
Describe the bug
Currently the select down arrow SVG is centered to the outer box rather than the inner select box. This means if you try to apply margin to the bottom outer box the arrow is incorrectly centered.
This isn't a problem if equal padding is applied to the top and bottom however this normally isn't the case as you want to group the label with the select by having more padding at the bottom than the top where the label is positioned.
A work around is to apply padding to the top of the next label however this isn't ideal especially if the select is the last item in the form.
To Reproduce
Create a form with a label followed by a select using the following in the theme;
This is likely a bug that should be fixed, but in the meantime, can you use a nested svg selector inside your select variant to manually adjust its positioning?
Describe the bug
Currently the select down arrow SVG is centered to the outer box rather than the inner select box. This means if you try to apply margin to the bottom outer box the arrow is incorrectly centered.
This isn't a problem if equal padding is applied to the top and bottom however this normally isn't the case as you want to group the label with the select by having more padding at the bottom than the top where the label is positioned.
A work around is to apply padding to the top of the next label however this isn't ideal especially if the select is the last item in the form.
To Reproduce
Create a form with a label followed by a select using the following in the theme;
Expected behavior
There is either a way to offset the dropdown arrow margin or it's centered different to avoid this problem.
The text was updated successfully, but these errors were encountered: