1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Revert "Fix table overflow for small screens (#7010)"

This reverts commit 2db886793e.
This commit is contained in:
jeremy@jermolene.com 2023-01-15 20:22:52 +00:00
parent c39ef398bf
commit c0615e20ec

View File

@ -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: <<colour pre-background>>;
@ -1161,28 +1157,6 @@ button.tc-btn-invisible.tc-remove-tag-button {
}
}
/* prevent overflow for table content for small screens*/
@media (max-width: <<sidebarbreakpoint>>) {
.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;