mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Replace generated content with proper heading
Brings in https://github.com/alphagov/notifications-utils/pull/797 but adapts the CSS so nothing changes visually
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
.broadcast-message-wrapper {
|
||||
.broadcast-message {
|
||||
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 464px;
|
||||
box-sizing: border-box;
|
||||
padding: govuk-spacing(9) govuk-spacing(3) govuk-spacing(3) govuk-spacing(3);
|
||||
background: $panel-colour;
|
||||
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.05);
|
||||
border-radius: 5px;
|
||||
white-space: normal;
|
||||
margin: govuk-spacing(2) 0 govuk-spacing(4) 0;
|
||||
clear: both;
|
||||
word-wrap: break-word;
|
||||
&-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 464px;
|
||||
box-sizing: border-box;
|
||||
padding: govuk-spacing(9) govuk-spacing(3) govuk-spacing(3) govuk-spacing(3);
|
||||
background: $panel-colour;
|
||||
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.05);
|
||||
border-radius: 5px;
|
||||
white-space: normal;
|
||||
margin: govuk-spacing(2) 0 govuk-spacing(4) 0;
|
||||
clear: both;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: "Emergency alert";
|
||||
&-heading {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
Reference in New Issue
Block a user