fields display: align vertically

This commit is contained in:
Helmut Merz 2012-05-15 16:39:58 +02:00
parent 9ff3c9214e
commit a2590958d0
2 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -120,6 +120,10 @@ thead th {
margin-bottom: 0.3em;
}
.fields td {
vertical-align: top;
}
.dialog div.heading {
font-weight: bold;
font-size: 140%;