Merge pull request #1228 from alphagov/banner-spacing

Fix spacing on no permissions banner
This commit is contained in:
Chris Hill-Scott
2017-04-18 10:10:21 +01:00
committed by GitHub
2 changed files with 1 additions and 41 deletions

View File

@@ -78,46 +78,6 @@
}
.banner-mode {
@extend %banner;
background: $govuk-blue;
color: $white;
margin: 0 0 $gutter 0;
padding: $gutter-half;
p {
margin: 0 0 10px 0;
}
a {
&:link,
&:visited {
color: $white;
}
&:hover,
&:active {
color: $light-blue-25;
}
&:active,
&:focus {
background-color: $yellow;
color: $govuk-blue;
}
}
&-action {
display: block;
text-align: right;
float: right;
}
}
.banner-tour {
@extend %banner;

View File

@@ -1,5 +1,5 @@
{% from "components/banner.html" import banner_wrapper %}
{% call banner_wrapper(type="mode") %}
{% call banner_wrapper(type="default") %}
You only have permission to view this service
{% endcall %}