1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-08 13:56:07 +00:00

Restore the zoomin storyview

Now we fix the tiddler width properly.
This commit is contained in:
Jeremy Ruston
2013-11-07 22:55:39 +00:00
parent a980348925
commit c444b48dca
6 changed files with 207 additions and 4 deletions

View File

@@ -34,4 +34,5 @@ You can tweak certain aspects of the ''Snow White'' theme.
* Story top position //(the distance between the top of the screen ad the top margin of the story river or tiddler area)//: <$edit-text tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storytop" default="" tag="input"/>
* Story right //(the distance between the left side of the screen and the left margin of the sidebar area)//: <$edit-text tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storyright" default="" tag="input"/>
* Story width //(the width of the story river or tiddler area)//: <$edit-text tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storywidth" default="" tag="input"/>
* Tiddler width //(the width of individual tiddlers -- used for zoomin storyview)//: <$edit-text tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="tiddlerwidth" default="" tag="input"/>

View File

@@ -366,6 +366,7 @@ a.tw-tiddlylink-external {
}
.story-river {
position: relative;
padding: 0;
}
}
@@ -385,7 +386,7 @@ a.tw-tiddlylink-external {
}
.story-river {
position: absolute;
position: relative;
left: {{$:/themes/tiddlywiki/snowwhite/metrics##storyleft}};
top: {{$:/themes/tiddlywiki/snowwhite/metrics##storytop}};
width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}};
@@ -408,6 +409,7 @@ a.tw-tiddlylink-external {
*/
.tw-tiddler-frame {
width: {{$:/themes/tiddlywiki/snowwhite/metrics##tiddlerwidth}};
margin-bottom: 28px;
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##tiddlerbackground}};
}

View File

@@ -7,3 +7,4 @@ storyleft: `0px`
storytop: `0px`
storyright: `770px`
storywidth: `770px`
tiddlerwidth: `686px`