aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-11-27 12:03:48 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-12-05 13:05:11 +0000
commit0187e3485193b8c7b663dde1d32808cb9d3f2aa8 (patch)
treebae6276531b6abd2d2e675992bb3f88b1690dadc /web
parent84f4e52f5006dfdd4c1c1161e0f01e038b85fa2c (diff)
Prevent horizontal space between sibling block-level buttons
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index ed8ea49ec..54d1b4f02 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -889,6 +889,13 @@ input.final-submit {
@include box-sizing(border-box);
}
+// Don't want space between block-level buttons,
+// because they don't sit beside each other anyway.
+.btn--block + .btn--block {
+ margin-#{$left}: 0;
+ margin-top: 1em;
+}
+
.btn--small {
font-size: 0.8em;
}