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

Pixel accuracy for restoring pre-refactor layout

Two problems:

* Extraneous whitespace shows up as whitespace in the HTML, making it
hard to style
* Fix some padding
This commit is contained in:
Jermolene 2014-04-09 22:19:27 +01:00
parent df6fe8f852
commit fc407d079c
3 changed files with 9 additions and 7 deletions

View File

@ -7,8 +7,7 @@ tags: $:/tags/PageTemplate
<div class="tw-site-title">{{$:/SiteTitle}}</div>
<div class="tw-site-subtitle">{{$:/SiteSubtitle}}</div>
<div class="tw-page-controls">
<$list filter="[all[tiddlers+shadows]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> <$transclude tiddler=<<listItem>>/>
</$list>
<$list filter="[all[tiddlers+shadows]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
</div>
{{$:/core/ui/SideBarLists}}
</$reveal>

View File

@ -8,8 +8,7 @@ title: $:/core/ui/SideBarLists
<$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link>
</$linkcatcher>
</$reveal>
<$reveal state="$:/temp/search" type="match" text=""> &nbsp;
<$link to="$:/AdvancedSearch" class="btn-invisible">&hellip;</$link>
<$reveal state="$:/temp/search" type="match" text="">&nbsp;<$link to="$:/AdvancedSearch" class="btn-invisible">&hellip;</$link>
</$reveal>
</div>
<$reveal state="$:/temp/search" type="nomatch" text="">

View File

@ -369,7 +369,7 @@ a.tw-tiddlylink-external:hover {
}
.tw-search {
padding-top: .5em;
padding-top: 14px;
}
.tw-search a svg {
@ -453,7 +453,7 @@ a.tw-tiddlylink-external:hover {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin: 0 0 0 -42px;
padding: 99px 0 28px 42px;
padding: 84px 0 28px 42px;
}
.story-river {
@ -461,7 +461,7 @@ a.tw-tiddlylink-external:hover {
left: {{$:/themes/tiddlywiki/vanilla/metrics##storyleft}};
top: {{$:/themes/tiddlywiki/vanilla/metrics##storytop}};
width: {{$:/themes/tiddlywiki/vanilla/metrics##storywidth}};
padding: 56px 42px 42px 42px;
padding: 42px 42px 42px 42px;
}
}
@ -968,6 +968,10 @@ canvas.tw-edit-bitmapeditor {
padding-top: 14px;
}
.tw-sidebar-lists .tw-tab-buttons {
padding-top: 15px;
}
.tw-sidebar-lists .tw-tab-buttons button.tw-tab-selected {
background-color: <<colour sidebar-tab-background-selected>>;
color: <<colour sidebar-tab-foreground-selected>>;