Skip to content

Commit

Permalink
Merge pull request #562 from DFE-Digital/SFSW-2260-New-component-acce…
Browse files Browse the repository at this point in the history
…ssibility-adjustments

Sfsw 2260 new component accessibility adjustments
  • Loading branch information
mattb-hippo authored Nov 22, 2024
2 parents 771d4d5 + 646151f commit fd34b4f
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<div class="page-contents-header">
<p class="govuk-body govuk-!-margin-bottom-1 govuk-!-font-weight-bold">
<p class="govuk-body govuk-!-margin-bottom-1">
@Model.DisplayText
</p>
<ul class="govuk-list govuk-list--bullet">
Expand Down
24 changes: 15 additions & 9 deletions Childrens-Social-Care-CPD/styles/scss/overrides/_site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
.page-contents-header ul {
margin: 0;
padding: 0;
font-size: 16px;
font-size: 1rem;
}

.page-contents-header li {
Expand Down Expand Up @@ -315,18 +315,20 @@
left: -30px;
}

.prompt .govuk-grid-row {
position: relative;
}
.prompt .govuk-grid-column-one-quarter {
margin-right: -120px;
position: absolute;
top: 0;
left: 0;
}

.prompt .govuk-grid-column-three-quarters {
padding: 15px;
}

@media (min-width: 40em) and (max-width: 61.5em) {
.prompt .govuk-grid-column-three-quarters {
padding-left: 40px;
}
padding-left: 65px;
padding-top: 15px;
padding-bottom: 15px;
width: 100%;
}

@media (max-width: 40.0625em) {
Expand All @@ -352,6 +354,10 @@
}
*/

.prompt .govuk-body-m {
max-width: 100%;
}

.prompt.prompt-home .svg-inline--fa {
background-color: #347ca9 !important;
}
Expand Down
24 changes: 16 additions & 8 deletions Childrens-Social-Care-CPD/wwwroot/css/application.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/wwwroot/css/application.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/wwwroot/css/application.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit fd34b4f

Please sign in to comment.