diff --git a/src/index.css b/src/index.css index be73c62c..a172898c 100644 --- a/src/index.css +++ b/src/index.css @@ -148,8 +148,8 @@ .dark #table-scroll tbody tr.selected-row .catalog-sticky-col{background:#19274e} /* Detail navigation expands into place after an ETF is selected. */ - main.space-y-6 > #selected-tabs-panel{margin-top:1.5rem;padding-top:1rem;padding-bottom:1rem;border-color:rgb(226 232 240)} - .dark main.space-y-6 > #selected-tabs-panel{border-color:rgb(51 65 85)} + #selected-tabs-panel{padding-top:.75rem;padding-bottom:.75rem;border-color:rgb(226 232 240)} + .dark #selected-tabs-panel{border-color:rgb(51 65 85)} /* * Blacklist manager: same smooth expand/collapse contract as the detail diff --git a/src/index.html b/src/index.html index d99d6838..fef4340a 100644 --- a/src/index.html +++ b/src/index.html @@ -26,71 +26,74 @@
- -
-
-
- - - - -

SPDR ETFs

-
- -
-
- - - -
-
+
-
+
+ + - -
+ +
- -
- - -
+ +
+ + +
- - - - - + + + + + - -
- - - - - -
+ +
+ + + + + +
+
@@ -106,11 +109,6 @@

The blacklist is empty. Blacklisted ETFs disappear from All ETFs (and from selection), and are kept in your browser localStorage.

- - -
diff --git a/src/main.tsx b/src/main.tsx index ce8d56dd..c9aafd5a 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -3978,7 +3978,7 @@ function bindEvents(): void { if (typeof ResizeObserver === 'function') { // a block above the table that shrinks after the first fit does not change the page height (min-h-screen), only its own size tells const above = new ResizeObserver(() => fitTableHeight()); - document.querySelectorAll('main > *').forEach(child => { if (!child.contains(el.tableScroll)) above.observe(child, { box: 'border-box' }); }); + document.querySelectorAll('main > *, #top-panels > *').forEach(child => { if (!child.contains(el.tableScroll)) above.observe(child, { box: 'border-box' }); }); } if (typeof ResizeObserver === 'function') { new ResizeObserver(() => fitTableHeight()).observe(document.body);