Restructure
New Journal entries
Colour tabs update with wind
This commit is contained in:
fraxle
2026-08-31 15:12:45 +01:00
parent 47818fba33
commit 71860b9dd9
40 changed files with 3430 additions and 443 deletions
+4 -5
View File
@@ -140,11 +140,10 @@ export function useTableScroll({
const bodyScroll = bodyScrollRef.current;
if (!bodyTable || !bodyScroll) return;
// Rotated renders a SINGLE table, so there is no head table and
// nothing to keep in step. The scroll-fade still needs to know how
// wide the pinned column is, though — and it can't be assumed from
// CSS, because auto layout widens that column to fit the longest
// metric name. Measure it, then stop.
// Fallback for any layout rendered as a single table (no head to
// keep in step). Both orientations split head from body now, so this
// is a safety net rather than a path — the scroll-fade still needs
// the pinned column's width, so measure that and stop.
if (!headTable) {
const firstCell = bodyTable.querySelector('tbody tr > *');
if (firstCell && tableWrapRef && tableWrapRef.current) {