get more control on formatting of descriptions

This commit is contained in:
Helmut Merz 2012-04-05 12:55:18 +02:00
parent d46f936e5e
commit ac9366e805
2 changed files with 6 additions and 2 deletions

View file

@ -17,7 +17,7 @@
title cell/description">
<div class="legend">
<b tal:content="cell/title" /><br />
<i tal:content="structure cell/textRepresentation" />
<span tal:content="structure cell/textRepresentation" />
</div>
</a>
</div>
@ -154,7 +154,7 @@
</h1>
<div class="head-description"
tal:condition="cell/description">
<i tal:content="structure cell/renderedDescription" />
<span tal:content="structure cell/renderedDescription" />
&nbsp;</div>
</metal:block>

View file

@ -10,6 +10,10 @@
margin-top: 1em;
}
.head-description, .legend {
font-style: italic;
}
ul.view-modes {
padding: 0 0 0 2em;
margin: 0.7em 0 0 0;