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 /perllib/FixMyStreet/App/Controller/Moderate.pm | |
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 'perllib/FixMyStreet/App/Controller/Moderate.pm')
0 files changed, 0 insertions, 0 deletions