Skip to content

Fix currency label height and border radius in Money and Number fields - #19547

Merged
brandonkelly merged 5 commits into
craftcms:5.xfrom
redburn:fix/currency-label-height
Sep 4, 2026
Merged

brandonkelly merged 5 commits into
craftcms:5.xfrom
redburn:fix/currency-label-height

Conversation

@redburn

@redburn redburn commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Fixes a minor height discrepancy between the currency labels of Money and Number (with currency preview format) fields and their adjoining inputs, as well as a left border radius being applied to the Number input when it has a label in front:

2026-09-03 18_07_58-2026-09-03 18_06_30-Greenshot png @ 400% (Layer 2 copy 2, RGB_8#) _

Using min-height: var(--input-height), like .text does, instead of height:100%, makes both the same height. Adding the & + .text rule that the Money label already has to the Number label fixes the border radius.

@brandonkelly
brandonkelly merged commit 1d38583 into craftcms:5.x Sep 4, 2026
@brandonkelly

Copy link
Copy Markdown
Member

Thank you!

@redburn
redburn deleted the fix/currency-label-height branch September 4, 2026 13:40
@brandonkelly

Copy link
Copy Markdown
Member

Craft 5.11.2 is out with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants