Skip to content

Commit

Permalink
Set select height to 40px
Browse files Browse the repository at this point in the history
The `min-height` property for selects is ignored in Safari, making the select only 30px high. Setting a fixed height is ok as the select will never wrap onto 2 lines.
  • Loading branch information
frankieroberto committed Jul 18, 2024
1 parent 17a4c06 commit e2ad1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

border: $nhsuk-border-width-form-element solid $nhsuk-form-border-color;
box-sizing: border-box;
min-height: 40px;
height: 40px;
max-width: 100%;
padding: nhsuk-spacing(1);

Expand Down

0 comments on commit e2ad1bf

Please sign in to comment.