git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc57bd1
)
index: fix misaligned column break in webkit
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 11 Jun 2017 00:00:30 +0000
(
02:00
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 17 Jul 2017 15:13:42 +0000
(17:13 +0200)
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.
base.css
patch
|
blob
|
history
diff --git
a/base.css
b/base.css
index 3dc8bd9b8dc330a1659fba68a9e034652c34fdb8..805bb3d124e9c3cdcbe9f70ec8a3ec4d2ba87867 100644
(file)
--- 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;