mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
fixed small issue where main vertical splitter was causing overflow
This commit is contained in:
parent
7b1693e9d2
commit
13bcab9cd1
3 changed files with 17 additions and 6 deletions
|
|
@ -154,10 +154,7 @@ export function enableFlexSplitters() {
|
|||
const gap = splitter.getBoundingClientRect().width || 8;
|
||||
splitter.style.flex = `0 0 ${gap}px`;
|
||||
|
||||
// Optional per-splitter CSS vars:
|
||||
// --split-default: 30% (right pane width)
|
||||
// --split-min-a: 220px (min left)
|
||||
// --split-min-b: 220px (min right)
|
||||
|
||||
const defPct = getVarPct(splitter, "--split-default", 50);
|
||||
const minA = getVarPx(splitter, "--split-min-a", 220);
|
||||
const minB = getVarPx(splitter, "--split-min-b", 220);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue