From: Mischa POSLAWSKY Date: Sun, 18 Jun 2017 07:49:11 +0000 (+0200) Subject: keys: terse keyboard width to prevent scrollbar X-Git-Tag: v1.11~41 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/1c6039264da1010372c1bcb4688556255becef0d keys: terse keyboard width to prevent scrollbar Recalculate based on smaller cells to prevent right margin and zoomed out table on mobile screens. --- diff --git a/base.css b/base.css index 805bb3d..9d01449 100644 --- a/base.css +++ b/base.css @@ -152,7 +152,7 @@ h3 {display: none} /* semantic details (non-css/js) */ table.keys { display: block; - width: 82.5em; /* 12 * (2px + 1px + 6.2em + 1px + 2px) + 8em*/ + width: 82.5em; /* 12 * td(2px + 1px + 6.2em + 1px + 2px) + 8em */ // padding-right: 72px; border-spacing: 0; border-collapse: collapse; @@ -742,5 +742,8 @@ nav > .section { opacity: .5; color: #FFF; } + table.keys { + width: 62.1em; /* 82.5em - 12 * Δtd(6.2em - 4.5em) */ + } }