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
optimising-macrocalls
Simon Huber 2020-11-18 19:02:40 +01:00 zatwierdzone przez GitHub
rodzic 0be778fc27
commit da66323dc5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -57,7 +57,7 @@ $value={{{ [<newFieldValueTiddler>get[text]] }}}/>
\whitespace trim
<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>
<$list filter="[all[current]fields[]] +[sort[title]]" variable="currentField" storyview="pop">
<$list filter=<<config-filter>> variable="temp">

Wyświetl plik

@ -1420,6 +1420,10 @@ html body.tc-body.tc-single-tiddler-window {
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 {
border: none;