From aa2e82ffeba700de7037311a45d9c8130a0c7ccb Mon Sep 17 00:00:00 2001 From: Amolith Date: Tue, 17 Mar 2026 19:00:18 -0600 Subject: [PATCH] Override Oat accordion overflow to allow horizontal table scrolling Oat sets overflow:hidden on
for border-radius clipping, which prevents .table's overflow-x:auto from producing a scrollbar. Override to overflow:visible on details containing a .table wrapper and reset the wrapper's width/min-width so it fits inside the details margins instead of spilling out. --- static/td.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/td.css b/static/td.css index 57aa705319f32c7c896de07c15c46d0b3a12e1b5..2ab5fcbd9b2c32b37fa97fb811524d34a18047da 100644 --- a/static/td.css +++ b/static/td.css @@ -50,6 +50,13 @@ code, pre, .mono { font-family: var(--font-mono); } transform: translateX(-50%); top: 0; } +details:has(> .table) { + overflow: visible; +} +details:has(> .table) > .table { + width: auto; + min-width: 0; +} [hidden] { display: none !important; }