aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-06-25 11:34:04 +0100
committerStruan Donald <struan@exo.org.uk>2018-10-01 07:57:22 +0100
commitd7fd08e151f6c0c4b57350cfcc3a2ea24481ba2c (patch)
tree815265b81707a2608acfbdd856cde8d41cd6fc3f /notes
parentd52accf2008c57437b2c08fd9050854934714a13 (diff)
Nicer image replacement for #nav-link mobile menu button
The large negative text-indent can sometimes cause horizontal scrollbars in Right-to-Left languages, and, in some browsers, can also result in a huge :focus outline being drawn around the button and off to the right of the window. Setting a zero height, padding top, and overflow:hidden is a simpler way to achieve the same thing, and works regardless of text direction, text length, or focus state.
Diffstat (limited to 'notes')
0 files changed, 0 insertions, 0 deletions