aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-06-30 19:50:51 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-30 20:54:09 +0100
commit19c7a8e1f7bd2774affd890698e40902a8c19a34 (patch)
treea8c683a6169388689e135075ba3b378a83c41568 /web
parent28bec8043fa33027958b0afd1b264fd25aa27d9d (diff)
Fix clickable spaces on inspect form/ward page.
Make the relevant labels inline-block so that their click area is not wider than their content; move the body name outside of the heading.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/sass/_base.scss13
1 files changed, 7 insertions, 6 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss
index c319082a8..5866ab986 100644
--- a/web/cobrands/sass/_base.scss
+++ b/web/cobrands/sass/_base.scss
@@ -50,12 +50,8 @@ h1 {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
-h1#reports_heading span {
- display: none;
-}
-h1#reports_heading a {
- display: block;
- font-size: 50%;
+h1#reports_heading {
+ margin-bottom: 0;
}
h2 {
@@ -412,6 +408,7 @@ select.form-control {
.label-containing-checkbox {
padding-#{$left}: 24px;
position: relative;
+ margin-bottom: 0;
input {
position: absolute;
@@ -1856,6 +1853,10 @@ label .muted {
& > :first-child > :first-child {
margin-top: 0;
}
+ label {
+ display: inline-block;
+ margin-top: 0.25em;
+ }
}
.inspect-section--hidden {