From 62853b1b18f223af8eb611c3c58e674622e050d4 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 17 Jul 2026 14:39:45 +0300 Subject: [PATCH] feat: use 2 columns in help dialog --- index.html | 60 +++++++++++++++++++++++++++++------------------------- style.css | 26 +++++++++++++++++++++-- 2 files changed, 56 insertions(+), 30 deletions(-) diff --git a/index.html b/index.html index 804cc6fea..8ded36ee1 100644 --- a/index.html +++ b/index.html @@ -166,34 +166,38 @@

Exporting…

diff --git a/style.css b/style.css index 21f3e35c3..5b8ae6363 100644 --- a/style.css +++ b/style.css @@ -1271,21 +1271,43 @@ input[type=range] { display: none; } +.dialog.help { + width: min(820px, 94vw); + max-height: min(90vh, 640px); + overflow: auto; +} + +.dialog.help .keys-cols { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 0 28px; + margin-bottom: 12px; + align-items: start; +} + .dialog.help .keys { width: 100%; border-collapse: collapse; - margin-bottom: 16px; + margin-bottom: 0; } .dialog.help .keys td { padding: 5px 6px; border-bottom: 1px solid #26262c; font-size: 12px; + vertical-align: top; } .dialog.help .keys td:first-child { - width: 46%; + width: 40%; color: var(--dim); + white-space: nowrap; +} + +@media (max-width: 700px) { + .dialog.help .keys-cols { + grid-template-columns: 1fr; + } } kbd {