mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Avoid wraping field names in field viewers
Also avoid wikifying field names
This commit is contained in:
parent
95a3d7fde2
commit
853a899c77
@ -1,7 +1,7 @@
|
||||
title: $:/snippets/allfields
|
||||
|
||||
\define renderfield(title)
|
||||
<tr class="tc-view-field"><td class="tc-view-field-name">''$title$'':</td><td class="tc-view-field-value">//{{$:/language/Docs/Fields/$title$}}//</td></tr>
|
||||
<tr class="tc-view-field"><td class="tc-view-field-name">''<$text text=<<__title__>>/>'':</td><td class="tc-view-field-value">//{{$:/language/Docs/Fields/$title$}}//</td></tr>
|
||||
\end
|
||||
<table class="tc-view-field-table"><tbody><$list filter="[fields[]sort[title]]" variable="listItem"><$macrocall $name="renderfield" title=<<listItem>>/></$list>
|
||||
</tbody></table>
|
||||
|
@ -1042,6 +1042,8 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
||||
|
||||
.tc-view-field-name {
|
||||
width: 1%; /* Makes this column be as narrow as possible */
|
||||
white-space: nowrap;
|
||||
vertical-align: top;
|
||||
text-align: right;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
|
Loading…
Reference in New Issue
Block a user