Skip to content

Commit

Permalink
ZD-5983846 correctly align drop-down items (#4373)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsteers authored Dec 4, 2024
1 parent 36067c5 commit f2fb514
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions app/assets/sass/components/multi-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit f2fb514

Please sign in to comment.