From e2ad1bf7bb931ffa01799f93e783e6a5827ef4fa Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Thu, 18 Jul 2024 09:14:15 +0100 Subject: [PATCH] Set select height to 40px 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. --- packages/components/select/_select.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/select/_select.scss b/packages/components/select/_select.scss index 7f61cc13c..533b10aad 100644 --- a/packages/components/select/_select.scss +++ b/packages/components/select/_select.scss @@ -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);