diff options
Diffstat (limited to 'modules/ext/ui-commander.js')
| -rw-r--r-- | modules/ext/ui-commander.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/ext/ui-commander.js b/modules/ext/ui-commander.js index 03af5be..873d7cc 100644 --- a/modules/ext/ui-commander.js +++ b/modules/ext/ui-commander.js @@ -61,7 +61,9 @@ body[data-ui-mode="commander"] #ui-root { display: grid; grid-template-columns: #cm-palette li.sel { background: var(--bg-tertiary); border-left: 3px solid var(--accent-color); } #cm-palette li .d { color: var(--text-muted); font-size: .82em; display: block; margin-top: 2px; } @media (max-width: 900px) { - body[data-ui-mode="commander"] #ui-root { grid-template-columns: 1fr; } + /* one row that FILLS the viewport: without an explicit 1fr row the single grid row is auto, so + the centre column stopped at its content height and the rest of the screen was black. */ + body[data-ui-mode="commander"] #ui-root { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); } #cm-left, #cm-right { display: none; } } `); |