index: fix misaligned column break in webkit
[sheet.git] / base.css
index 610cced134c14fca4c759f3ba9ee68899740d24e..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;
@@ -726,14 +727,14 @@ nav > .section {
 /* terse optimisation */
 
 @media (max-width: 79em) {
-       body .keys td {
+       .keys td {
                position: relative; /* hides overflow */
                width: 4.5em;
        }
-       body .keys td b,
-       body .keys.meta td b,
-       body .keys.ctrl td b,
-       body .keys.lead td b { /* leading chars always fit */
+       .keys td b,
+       .keys.meta td b,
+       .keys.ctrl td b,
+       .keys.lead td b { /* leading chars always fit */
                position: absolute; /* background */
                right: 0; /* least overlap in corner */
                font-size: 250%;