aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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 /templates
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 'templates')
-rwxr-xr-xtemplates/web/base/reports/body.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html
index e8a981748..b6e6df73b 100755
--- a/templates/web/base/reports/body.html
+++ b/templates/web/base/reports/body.html
@@ -37,13 +37,16 @@
<div id="map_sidebar">
<div id="side">
-<h1 id="reports_heading">
- [% IF ward %]
- [% ward.name %]<span>, </span><a href="[% body_url %]">[% body.name %]</a>
+ [% IF ward %]
+ <h1 id="reports_heading">
+ [% ward.name %]
+ </h1>
+ <a href="[% body_url %]">[% body.name %]</a>
[% ELSE %]
- [% body.name %]
- [% END %]
-</h1>
+ <h1 id="reports_heading">
+ [% body.name %]
+ </h1>
+ [% END %]
[% IF c.cobrand.moniker == 'hart' %]
[% INCLUDE '_hart_hants_note.html' %]