From db154b055368a5fa652f3bb7144b0d64dd61f5c3 Mon Sep 17 00:00:00 2001 From: Nathaniel Steers Date: Wed, 4 Dec 2024 12:49:25 +0000 Subject: [PATCH] ZD-5983846 correctly align drop-down items --- app/assets/sass/components/multi-select.scss | 28 ++------------------ 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/app/assets/sass/components/multi-select.scss b/app/assets/sass/components/multi-select.scss index 8f8308ac7f..22041882df 100644 --- a/app/assets/sass/components/multi-select.scss +++ b/app/assets/sass/components/multi-select.scss @@ -83,36 +83,12 @@ } .govuk-checkboxes__item { - width: 100%; - display: block; + display: flex; + align-items: start; text-align: left; cursor: pointer; - margin: 0; - - label { - padding: 10px 4px 4px; - width: 100%; - } - input { z-index: 12; - width: 100%; } } - .govuk-checkboxes__item [type='checkbox'] + label::before, - .govuk-checkboxes__item [type='checkbox'] + label::after { - margin: auto; - height: 24px; - width: 24px; - top: 9px; - left: 8px; - } - - .govuk-checkboxes__item [type=checkbox] + label::after { - top: 15px; - left: 12px; - height: 5px; - width: 13px; - border-width: 0 0 3px 3px; - } }