Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3961,6 +3961,7 @@ <h2 id="gwTitle" style="font-size:14px;display:flex;align-items:center;gap:7px">

<!-- Settings-only layout and keyboard affordances. -->
<style>
#cfgModal .modal { width:min(1180px,96vw);max-width:96vw;height:88vh;height:88dvh;max-height:88dvh }
#cfgModal .settings-note { padding:10px 20px;color:var(--muted);font-size:12px;line-height:1.5 }
#cfgModal #cfgTabs { overflow-x:auto;flex-shrink:0 }
#cfgModal #cfgTabs button { white-space:nowrap;font:inherit }
Expand Down
5 changes: 5 additions & 0 deletions test/responsive-ui.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,10 @@ check('kanban.html mobile media query forces card-actions display on touch scree
assert.ok(/\.card-actions\s*\{[^}]*display:\s*flex\s*!important/.test(media800), 'missing display: flex !important for card-actions in mobile query');
});

check('configuration modal uses the available screen (#136)', () => {
assert.ok(idxSrc.includes('width:min(1180px,96vw)'), 'configuration modal should use the available width');
assert.ok(idxSrc.includes('height:88dvh'), 'configuration modal should use the available height');
});

if (failed) { console.log(`\n${failed} test(s) failed`); process.exit(1); }
console.log('\nAll responsive-ui tests passed');
Loading