aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-02-11 14:18:06 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-03-01 13:45:27 +0000
commit86827c23436fef52b6b38d3fbc357fb0bf20f0c6 (patch)
treefd0a1f091321fdcb81c806d6ea6f41fde0184506
parent3ba9f83633c26e427baa82bd8856f407febd248a (diff)
Increase vertical spacing of front page example.
-rw-r--r--web/cobrands/sass/_base.scss3
-rw-r--r--web/cobrands/sass/_layout.scss3
2 files changed, 4 insertions, 2 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index d54952028..ba4ecb732 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -1984,8 +1984,7 @@ label .muted {
color: #666;
// Reduce space between labels and their form-hints
- label + &,
- #front-main label + & {
+ label + & {
margin-top: -0.5em;
}
}
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 7d2b99c9b..fb42b39ad 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -836,6 +836,9 @@ textarea.form-error {
label {
margin:0.5em 0;
}
+ .form-hint {
+ margin-top: -0.25em;
+ }
div {
display:block;
margin:0 auto;