1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix field listings

This commit is contained in:
Jeremy Ruston 2013-10-30 09:34:01 +00:00
parent 05e73ee1da
commit 849d64cf9d
2 changed files with 3 additions and 2 deletions

View File

@ -3,5 +3,5 @@ title: $:/snippets/allfields
\define renderfield(title)
<tr class="tw-view-field"><td class="tw-view-field-name">''$title$'':</td><td class="tw-view-field-value">//{{$:/docs/fields/$title$}}//</td></tr>
\end
<table class="tw-view-fields-table"><tbody><$list filter="[fields[]sort[title]]"><$macrocall $name="renderfield" title=<<listItem>>/></$list>
<table class="tw-view-field-table"><tbody><$list filter="[fields[]sort[title]]"><$macrocall $name="renderfield" title=<<listItem>>/></$list>
</tbody></table>

View File

@ -413,11 +413,12 @@ a.tw-tiddlylink-external {
<<box-shadow "inset 1px 2px 3px rgba(0,0,0,0.1)">>
}
.tw-view-fields-table {
.tw-view-field-table {
width: 100%;
}
.tw-view-field-name {
width: 1%; /* Makes this column be as narrow as possible */
text-align: right;
font-style: italic;
}