1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00

Zoomin: Avoid using broken tc-storyview-zoomin-tiddler class (#7252)

* First commit

Fixes #7247

* Revert to setting the faulty tc-storyview-zoomin-tiddler class for backwards compatibility
This commit is contained in:
Jeremy Ruston 2023-02-10 21:27:20 +00:00 committed by GitHub
parent 028dfe39b7
commit 77b418004a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1445,7 +1445,7 @@ html body.tc-body.tc-single-tiddler-window {
width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
}
body.tc-body .tc-storyview-zoomin-tiddler {
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
width: 100%;
width: calc(100% - 42px);
}
@ -1457,7 +1457,7 @@ html body.tc-body.tc-single-tiddler-window {
margin-right: 0;
}
body.tc-body .tc-storyview-zoomin-tiddler {
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
width: 100%;
width: calc(100% - 84px);
}
@ -1716,7 +1716,7 @@ html body.tc-body.tc-single-tiddler-window {
margin-right: .3em;
}
.tc-storyview-zoomin-tiddler {
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
position: absolute;
display: block;
width: 100%;
@ -1724,7 +1724,7 @@ html body.tc-body.tc-single-tiddler-window {
@media (min-width: <<sidebarbreakpoint>>) {
.tc-storyview-zoomin-tiddler {
.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
width: calc(100% - 84px);
}