render description also for grid elements, but without spacing before and after paragraphs
This commit is contained in:
parent
c253670131
commit
a009c29aea
2 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
title cell/description">
|
title cell/description">
|
||||||
<div class="legend">
|
<div class="legend">
|
||||||
<b tal:content="cell/title" /><br />
|
<b tal:content="cell/title" /><br />
|
||||||
<i tal:content="cell/description" />
|
<i tal:content="structure cell/renderedDescription" />
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -63,6 +63,12 @@ ol, ul, p {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* no vertical spacing for descriptions in grids */
|
||||||
|
div.legend i p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
ol, ul {
|
ol, ul {
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue