From e3a86973922fa9370900f2e3b07a78222e44b056 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Wed, 29 Jun 2022 14:49:01 +1000 Subject: Remove constant-scrollbar-gap for ancestry-bar Avoided having overflow:auto cause tile-overlapping scrollbar by using less tile-padding. Trying to solve this by dynamically detecting overflow seemed to get messy. --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index d16ad68..7fca4c5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -149,7 +149,7 @@ function getDefaultUiOpts(lytOpts: LayoutOptions): UiOptions { nonleafHeaderColor: bgColorDark, ancestryBarBgColor: bgColorLight, // Component sizing - ancestryBarBreadth: lytOpts.maxTileSz / 2 + lytOpts.tileSpacing*2 + scrollGap, // px + ancestryBarBreadth: lytOpts.maxTileSz / 2 + lytOpts.tileSpacing*2, // px tutPaneSz: 200, // px scrollGap, // Timing related -- cgit v1.2.3