mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 19:33:12 -04:00
Merge pull request #1363 from alphagov/footer-fix
Fix alignment and spacing of page footer on mobile
This commit is contained in:
@@ -126,26 +126,6 @@ td {
|
|||||||
margin-top: $gutter;
|
margin-top: $gutter;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
|
||||||
|
|
||||||
.footer-categories {
|
|
||||||
|
|
||||||
@extend %site-width-container;
|
|
||||||
|
|
||||||
&-wrapper {
|
|
||||||
padding: 0 0 $gutter * 2;
|
|
||||||
margin: 0 0 $gutter;
|
|
||||||
border-bottom: 1px solid $border-colour;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin: 0 0 $gutter-two-thirds;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-label {
|
.form-label {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|||||||
29
app/assets/stylesheets/components/site-footer.scss
Normal file
29
app/assets/stylesheets/components/site-footer.scss
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
#footer {
|
||||||
|
.footer-categories {
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
|
&-wrapper {
|
||||||
|
margin-bottom: $gutter;
|
||||||
|
padding-bottom: $gutter * 2;
|
||||||
|
border-bottom: 1px solid $grey-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin: 20px 0;
|
||||||
|
|
||||||
|
@include media(tablet) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -34,6 +34,7 @@ $path: '/static/images/';
|
|||||||
|
|
||||||
// Specific to this application
|
// Specific to this application
|
||||||
@import 'grids';
|
@import 'grids';
|
||||||
|
@import 'components/site-footer';
|
||||||
@import 'components/placeholder';
|
@import 'components/placeholder';
|
||||||
@import 'components/sms-message';
|
@import 'components/sms-message';
|
||||||
@import 'components/page-footer';
|
@import 'components/page-footer';
|
||||||
|
|||||||
Reference in New Issue
Block a user