Merge pull request #1766 from alphagov/fix-table-show-more-spacing

Fix spacing of table footers
This commit is contained in:
Chris Hill-Scott
2018-01-26 16:13:45 +00:00
committed by GitHub
3 changed files with 15 additions and 0 deletions

View File

@@ -151,6 +151,8 @@ details summary {
.spreadsheet {
margin-bottom: -$gutter;
th,
.table-field-index {
background: $grey-4;

View File

@@ -130,9 +130,16 @@
}
&-shim {
width: 100%;
position: relative;
z-index: 9;
margin-bottom: 30px;
& + .table-show-more-link {
margin-top: -28px;
}
}
}

View File

@@ -230,12 +230,18 @@
}
.table-show-more-link {
@include core-16;
color: $secondary-text-colour;
margin-bottom: $gutter * 1.3333;
border-bottom: 1px solid $border-colour;
padding: 10px 0 10px 0;
text-align: center;
.table + & {
margin-top: -$gutter;
}
}
a.table-show-more-link {