From: Mischa POSLAWSKY Date: Sun, 11 Jun 2017 00:00:30 +0000 (+0200) Subject: index: fix misaligned column break in webkit X-Git-Tag: v1.11~49 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/a6bad536d7682c7932125500bb9e04a4cb8cb351 index: fix misaligned column break in webkit Workaround bug in at least Chrome, where initial margin seems to apply after column calculation, causing word-wrapped navigation titles to be broken across multiple columns. --- diff --git a/base.css b/base.css index 3dc8bd9..805bb3d 100644 --- a/base.css +++ b/base.css @@ -706,6 +706,7 @@ nav > .section { break-inside: avoid; -webkit-column-break-inside: avoid; /* webkit */ page-break-inside: avoid; /* moz */ + overflow: hidden; /* webkit workaround */ } #index nav a { display: inline-block;