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:
parent
7f97e3080c
commit
6753a1485a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user