diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2018-11-07 17:05:34 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-09 15:58:29 +0000 |
commit | 3feb5b4d9e28db7e90ba26ca81c747b66d3a1211 (patch) | |
tree | 6683c30a4b7b65d5c8436d4ffe188211543d04db /templates | |
parent | b51bcdb4fb5ade67b49e9dddfb72e5f9177ff011 (diff) |
Make .btn--block work on button and input elements
The intention of .btn--block is to make the element full width. Because
of the weird way browsers handle sizing of form elements, just setting
`display: block` on `<button>` and `<input type="submit">` elements
wasn’t making them full width. Instead, .btn--block needed to explicitly
set a 100% width, and then reset any margins or box-sizing issues that
might cause it to overflow its parent.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/borsetshire/front/footer-marketing.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/borsetshire/front/footer-marketing.html b/templates/web/borsetshire/front/footer-marketing.html index 7f1f3515a..41a815e65 100644 --- a/templates/web/borsetshire/front/footer-marketing.html +++ b/templates/web/borsetshire/front/footer-marketing.html @@ -2,5 +2,5 @@ <h2>FixMyStreet Pro</h2> <p class="lead">The one-stop street reporting service for councils.</p> <p>Integrate FixMyStreet with your council system for smooth, end-to-end report fullfilment.</p> - <p><a href="https://www.fixmystreet.com/pro/" class="btn--borsetshire">Learn more</a></p> + <p><a href="https://www.fixmystreet.com/pro/" class="btn">Learn more</a></p> </div> |