Skip to content

Commit

Permalink
CCM-5093: fix wave alerts for potentional headings
Browse files Browse the repository at this point in the history
  • Loading branch information
bhansell1 committed Jun 17, 2024
1 parent 05c3e26 commit 49df362
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/components/styled-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="nhsuk-grid-column-one-half">
<h3 class="nhsnotify-list__item-header">
<div class="nhsnotify-list__item-header-number">
<p class="nhsuk-heading-m">{{ i }}</p>
{{ i }}
</div>
<div class="nhsnotify-list__item-header-title">
{{ item.heading }}
Expand Down
30 changes: 10 additions & 20 deletions docs/_sass/_nhsnotify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,24 @@
}

.nhsnotify-list__item-header-number {
width: 15%;
width: 2em;
height: 2em;
line-height: 2em;
border-radius: 50%;

& > p {
margin: 0;

@media screen and (min-width: 990px) {
width: 2em;
height: 2em;
line-height: 2em;
border-radius: 50%;

background-color: $blue-000;
color: white;
font-weight: bold;
text-align: center;
}
}
background-color: $blue-000;
color: white;
font-weight: bold;
text-align: center;
}

.nhsnotify-list__item-header-title {
width: 85%;
padding-top: 0.3em;
padding: 0.3em 0 0 1.5em;
}

.nhsnotify-list__item-description {
@media screen and (min-width: 990px) {
padding-left: 4.5em;
}
padding-left: 5.5em;
}

.nhsuk-card__description {
Expand Down

0 comments on commit 49df362

Please sign in to comment.