mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-28 01:50:12 -04:00
Add style for areas once selected
Just having them in the boxes with the 2px black border made them look too much like textboxes.
This commit is contained in:
@@ -55,6 +55,15 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--unremoveable {
|
||||||
|
padding-right: govuk-spacing(2);
|
||||||
|
background: $light-blue-25;
|
||||||
|
border-color: $light-blue-25;
|
||||||
|
color: $govuk-blue;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-right: govuk-spacing(3);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.govuk-button {
|
.govuk-button {
|
||||||
|
|||||||
@@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
{% block maincolumn_content %}
|
{% block maincolumn_content %}
|
||||||
|
|
||||||
{{ page_header("Preview message", back_link=url_for('.preview_broadcast_areas', service_id=current_service.id)) }}
|
{{ page_header("Preview", back_link=url_for('.preview_broadcast_areas', service_id=current_service.id)) }}
|
||||||
|
|
||||||
{% for area in selected %}
|
{% for area in selected %}
|
||||||
{% if loop.first %}
|
{% if loop.first %}
|
||||||
<ul class="area-list">
|
<ul class="area-list">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="area-list-item">
|
<li class="area-list-item area-list-item--unremoveable">
|
||||||
{{ area.name }}
|
{{ area.name }}
|
||||||
</li>
|
</li>
|
||||||
{% if loop.last %}
|
{% if loop.last %}
|
||||||
|
|||||||
Reference in New Issue
Block a user