From f332c9af7ce06c37b3aee4e3660291a3e28aab4f Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 26 Jan 2018 15:37:37 +0000 Subject: [PATCH 1/3] Fix spacing between spreadsheet and download link It was too far apart. --- app/assets/stylesheets/app.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/app.scss b/app/assets/stylesheets/app.scss index c3a1ba93b..32107b85c 100644 --- a/app/assets/stylesheets/app.scss +++ b/app/assets/stylesheets/app.scss @@ -149,6 +149,8 @@ details summary { .spreadsheet { + margin-bottom: -$gutter; + th, .table-field-index { background: $grey-4; From 9ac2c49d4e771323cf613bea57b6fd515ac3735b Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 26 Jan 2018 15:42:33 +0000 Subject: [PATCH 2/3] =?UTF-8?q?Fix=20spacing=20of=20=E2=80=98only=20showin?= =?UTF-8?q?g=20[=E2=80=A6]=20rows=E2=80=99=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was too far apart. Can’t be fixed by reducing the margin on the table because this would bring the table too close to other elements when the ‘only showing’ thing isn’t present. --- app/assets/stylesheets/components/fullscreen-table.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/components/fullscreen-table.scss b/app/assets/stylesheets/components/fullscreen-table.scss index d5c8f78fc..64d669880 100644 --- a/app/assets/stylesheets/components/fullscreen-table.scss +++ b/app/assets/stylesheets/components/fullscreen-table.scss @@ -130,9 +130,16 @@ } &-shim { + width: 100%; position: relative; z-index: 9; + margin-bottom: 30px; + + & + .table-show-more-link { + margin-top: -28px; + } + } } From a4e6ef89a79cca8dd04e6aa7f7b0a99696088540 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 26 Jan 2018 16:08:48 +0000 Subject: [PATCH 3/3] =?UTF-8?q?And=20fix=20spacing=20for=20inbound?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/components/table.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/components/table.scss b/app/assets/stylesheets/components/table.scss index e7ad5f38a..4e66d2452 100644 --- a/app/assets/stylesheets/components/table.scss +++ b/app/assets/stylesheets/components/table.scss @@ -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 {