1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Dynaview: turn off scroll anchoring

This commit is contained in:
Jermolene 2019-01-29 11:37:26 +00:00
parent 7f97e3080c
commit 6753a1485a

View File

@ -1,8 +1,19 @@
title: $:/plugins/tiddlywiki/dynaview/styles title: $:/plugins/tiddlywiki/dynaview/styles
tags: $:/tags/Stylesheet tags: $:/tags/Stylesheet
\define if-tiddler-is(title,value,text)
<$reveal stateTitle=<<__title__>> text=<<__value__>> type="match">
<$text text=<<__text__>>/>
</$reveal>
\end
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
<<if-tiddler-is title:"$:/config/DynaView/PreserveScrollPosition" value:"yes" text:"""
body {
overflow-anchor: none; /* Turn off browser scroll anchoring */
}
""">>
body.tc-dynaview .tc-dynaview-zoom-visible-1-and-above, body.tc-dynaview .tc-dynaview-zoom-visible-1-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1a-and-above, body.tc-dynaview .tc-dynaview-zoom-visible-1a-and-above,
body.tc-dynaview .tc-dynaview-zoom-visible-1b-and-above, body.tc-dynaview .tc-dynaview-zoom-visible-1b-and-above,