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

Remove 2em of whitespace from EditTemplate when there are no visible fields (#5063)

* Remove 2em of whitespace from EditTemplate when there are no visible fields

* Update base.tid

* Update fields.tid

* Update fields.tid

* Update base.tid
This commit is contained in:
Simon Huber 2020-11-18 19:02:40 +01:00 committed by GitHub
parent 0be778fc27
commit da66323dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,7 @@ $value={{{ [<newFieldValueTiddler>get[text]] }}}/>
\whitespace trim \whitespace trim
<div class="tc-edit-fields"> <div class="tc-edit-fields">
<table class="tc-edit-fields"> <table class={{{ [all[current]fields[]] :filter[lookup[$:/config/EditTemplateFields/Visibility/]!match[hide]] +[count[]!match[0]] +[then[tc-edit-fields]] ~[[tc-edit-fields tc-edit-fields-small]] }}}>
<tbody> <tbody>
<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField" storyview="pop"> <$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField" storyview="pop">
<$list filter=<<config-filter>> variable="temp"> <$list filter=<<config-filter>> variable="temp">

View File

@ -1420,6 +1420,10 @@ html body.tc-body.tc-single-tiddler-window {
width: 100%; width: 100%;
} }
.tc-edit-fields.tc-edit-fields-small {
margin-top: 0;
margin-bottom: 0;
}
.tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td { .tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td {
border: none; border: none;