Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
NSDV-109 - styling alignment corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
StuLast committed Apr 21, 2023
1 parent 9da17b8 commit 095f023
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ui/components/Filters/Filters.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,22 @@
.clear {
clear: both;
}

.requirementLabel {
margin-left: -8px;
}

.requirementLabel::before {
margin-top: 10px !important;
margin-left: 4px !important;
height: 24px !important;
width: 24px !important;
}

.requirementLabel::after {
left: 9px !important;
top: 17px !important;
width: 9px !important;
height: 3.5px !important;
border-width: 0 0 3px 3px !important;
}
7 changes: 6 additions & 1 deletion ui/components/Filters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ const CheckBox = () => {
onChange={toggleMandated}
/>
<label
className="nhsuk-label nhsuk-checkboxes__label nhsuk-u-font-size-16"
className={classnames(
'nhsuk-label',
'nhsuk-checkboxes__label',
'nhsuk-u-font-size-16',
styles.requirementLabel
)}
htmlFor="mandated"
>
National requirement
Expand Down

0 comments on commit 095f023

Please sign in to comment.