Skip to content

Commit

Permalink
[squash] use small checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsteers committed Dec 4, 2024
1 parent c8163fa commit 8631992
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/assets/sass/components/multi-select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

.multi-select-title {
@include govuk-font($size: 16);

border: 2px solid $govuk-text-colour;
padding: 8px 5px;
border-radius: 0;
Expand Down Expand Up @@ -53,8 +52,8 @@
z-index: 10;
position: absolute;
border: 2px solid $govuk-text-colour;
box-sizing: border-box;
width: 100%;
font-size: 16px;

.multi-select-close-button {
min-height: 34px;
Expand All @@ -63,13 +62,14 @@
}

.multi-select-dropdown-inner-container {
padding: 10px 5px;
padding: 6px 14px;
overflow-y: scroll;
overflow-x: hidden;

.govuk-checkboxes__item {
label {
width: 100%;
padding-left: 5px;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/includes/multi-select.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
id="list-of-sectors-{{ name }}"
style="visibility:hidden;">
<button type="button" class="govuk-button govuk-button--secondary multi-select-close-button">Close</button>
<div class="multi-select-dropdown-inner-container govuk-checkboxes" data-module="govuk-checkboxes">
<div class="multi-select-dropdown-inner-container govuk-checkboxes govuk-checkboxes--small" data-module="govuk-checkboxes">
{% for item in items %}
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" name="{{ name }}" value="{{ item.value }}" id="{{ item.id }}"
Expand Down

0 comments on commit 8631992

Please sign in to comment.