aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/script/archive_old_enquiries.t
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-03-01 16:45:15 +0000
committerZarino Zappia <mail@zarino.co.uk>2018-03-01 16:58:36 +0000
commitdcc5926c674698985376e5ab26589ffa8626fd6f (patch)
tree4d4b810adcaf934212e758fa97b96bba117ec99f /t/app/script/archive_old_enquiries.t
parentce1e33244a53db2000689a52e4b1eecd68105290 (diff)
Edge-to-edge email content on narrow screens
The 5px cellpadding on the wrapper table was resulting in 15px of white space either side of emails when viewed on narrow screens. Which, on a window that could be as narrow as 320px, is a lot of wasted space! We only wanted the 15px of horizontal padding to be removed from the sides of the "main" content, leaving the top and bottom "hints" with some padding so that their text doesn’t crash up against the edge of the window on narrow screens. The easiest way to achieve this was to split the top and bottom "hints" out into their own slightly wider tables, with built-in cell padding. To make things simpler, the min- and max-widths are now stored in variables, and the changes also meant we could simplify the media queries controlling mobile breakpoints in modern email clients. Fixes #1928.
Diffstat (limited to 't/app/script/archive_old_enquiries.t')
0 files changed, 0 insertions, 0 deletions