aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2019-11-01 16:43:31 +0000
committerDave Arter <davea@mysociety.org>2019-12-09 12:48:12 +0000
commitc7e9b009ac8defe60000ce8e252f023b759e6f90 (patch)
treebbfdcced6bdf0e5e61b9c2cfae37e2c9c4f5cd81
parentb621557ea152d46a560410e1f9c54a843aa80d97 (diff)
[TfL] Avoid vertical padding to select elements
The vertical padding was causing text clipping in Firefox. Bigger drop area for photo upload.
-rw-r--r--web/cobrands/tfl/_colours.scss2
-rw-r--r--web/cobrands/tfl/base.scss4
2 files changed, 5 insertions, 1 deletions
diff --git a/web/cobrands/tfl/_colours.scss b/web/cobrands/tfl/_colours.scss
index 51844f00f..e0619a990 100644
--- a/web/cobrands/tfl/_colours.scss
+++ b/web/cobrands/tfl/_colours.scss
@@ -69,8 +69,8 @@ $header-top-border: false;
@mixin tflfield {
border: 1px solid $dark;
border-radius: 2px;
- padding: 0.58em;
font-family: $body-font;
background-color: $white;
box-shadow: none;
+ padding: 0.4em;
} \ No newline at end of file
diff --git a/web/cobrands/tfl/base.scss b/web/cobrands/tfl/base.scss
index cfad6cbbb..23009706b 100644
--- a/web/cobrands/tfl/base.scss
+++ b/web/cobrands/tfl/base.scss
@@ -69,6 +69,10 @@ a, .fake-link {
@include tflfield;
}
+.dropzone {
+ padding: 2.5em 0.5em;
+}
+
div.form-error, p.form-error {
background: $red;
}