From c0615e20ecf7d5d5e66d8a2acd28b80e8d59688d Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 15 Jan 2023 20:22:52 +0000 Subject: [PATCH] Revert "Fix table overflow for small screens (#7010)" This reverts commit 2db886793e095ef3040cae197936356b0f474ccd. --- themes/tiddlywiki/vanilla/base.tid | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index bcb6954ec..baf195107 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -30,10 +30,6 @@ background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}` <$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/> \end -\define tiddler-width() - <$text text={{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}}/> -\end - \define if-fluid-fixed(text,hiddenSidebarText) <$reveal state="$:/themes/tiddlywiki/vanilla/options/sidebarlayout" type="match" text="fluid-fixed"> $text$ @@ -146,7 +142,7 @@ pre { display: block; margin-top: 1em; margin-bottom: 1em; - word-break: break-word; + word-break: normal; word-wrap: break-word; white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}}; background-color: <>; @@ -1161,28 +1157,6 @@ button.tc-btn-invisible.tc-remove-tag-button { } } - -/* prevent overflow for table content for small screens*/ -@media (max-width: <>) { - .tc-tiddler-frame tr { - word-wrap: anywhere; - } - - .tc-tiddler-frame table blockquote { - margin-left: 12.5px; - margin-right: 12.5px; - } - - .tc-tiddler-frame table dd { - margin-left: 12.5px; - } - - .tc-tiddler-frame table ol, - .tc-tiddler-frame table ul { - padding-left: 20px; - } -} - .tc-site-title, .tc-titlebar { font-weight: normal;