Merge pull request #3062 from alphagov/settings-spacing

Even out the spacing on the settings page
This commit is contained in:
Chris Hill-Scott
2019-07-22 12:09:21 +01:00
committed by GitHub
4 changed files with 15 additions and 2 deletions

View File

@@ -54,6 +54,10 @@
margin-top: $gutter * 2 / 3; margin-top: $gutter * 2 / 3;
} }
.top-gutter-0 {
margin-top: 0;
}
%bottom-gutter, %bottom-gutter,
.bottom-gutter { .bottom-gutter {
@extend %contain-floats; @extend %contain-floats;

View File

@@ -77,6 +77,10 @@ a {
> .heading-medium { > .heading-medium {
margin: $gutter-half 0 ($gutter / 3 * 2) 0; margin: $gutter-half 0 ($gutter / 3 * 2) 0;
word-wrap: break-word; word-wrap: break-word;
&.top-gutter-0 {
margin-top: 0;
}
} }
} }

View File

@@ -55,6 +55,7 @@
table { table {
table-layout: fixed; table-layout: fixed;
margin-bottom: $gutter / 6;
} }
th { th {
@@ -91,6 +92,10 @@
} }
.table-heading {
margin-bottom: 20px;
}
} }
%table-field, %table-field,

View File

@@ -244,7 +244,7 @@
</div> </div>
{% if current_service.trial_mode %} {% if current_service.trial_mode %}
<h2 class="heading-medium">Your service is in trial mode</h2> <h2 class="heading-medium top-gutter-0">Your service is in trial mode</h2>
<ul class='list list-bullet'> <ul class='list list-bullet'>
<li>you can only send messages to yourself</li> <li>you can only send messages to yourself</li>
@@ -262,7 +262,7 @@
</p> </p>
{% else %} {% else %}
<h2 class="heading-medium">Your service is live</h2> <h2 class="heading-medium top-gutter-0">Your service is live</h2>
<p> <p>
You can send up to You can send up to