fields display: align vertically
This commit is contained in:
parent
9ff3c9214e
commit
a2590958d0
2 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,8 @@
|
|||
values python: [v for v in data.values() if v];
|
||||
fields item/fields"
|
||||
tal:condition="values">
|
||||
<table tal:attributes="ondblclick item/openEditWindow">
|
||||
<table class="fields"
|
||||
tal:attributes="ondblclick item/openEditWindow">
|
||||
<tal:row repeat="field fields">
|
||||
<tr tal:define="fieldName field/name;
|
||||
value nocall:data/?fieldName;
|
||||
|
|
|
@ -120,6 +120,10 @@ thead th {
|
|||
margin-bottom: 0.3em;
|
||||
}
|
||||
|
||||
.fields td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.dialog div.heading {
|
||||
font-weight: bold;
|
||||
font-size: 140%;
|
||||
|
|
Loading…
Add table
Reference in a new issue