From 6dbdbfbe8224985a53aaf93b2308f5bfd2a52143 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Mon, 16 Sep 2024 20:24:58 +0800 Subject: [PATCH] Fix overflow in table and table-of-contents (#8608) Another approach fix overflow. --- themes/tiddlywiki/vanilla/base.tid | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 65c1a5fe3..4a4867c0b 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -2779,6 +2779,20 @@ a.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk .tc-plugin-info-sta display: table; } +/* Fix overflow in table and toc */ +.tc-tiddler-body .tc-tabbed-table-of-contents { + overflow-x: auto; +} + +.tc-tiddler-body > table { + display: block; + overflow: auto; +} +.tc-tiddler-body > table tbody { + display: table; + width: 100%; +} + /* ** Chooser */