Adding vertical space to podpomen.

This commit is contained in:
Ozbolt Menegatti 2018-10-31 15:07:56 +01:00
parent 56cd453932
commit 3bec5071ee

View File

@ -79,6 +79,13 @@
.xslt-zgled-highlight { .xslt-zgled-highlight {
color: var(--light-red); color: var(--light-red);
} }
.xslt-morelessbutton-div {
padding-left: 2em;
display: inline;
}
.xslt-podpomen {
margin: 0.5em 0.5em;
}
.xslt-clear { .xslt-clear {
clear:both; clear:both;
@ -93,7 +100,7 @@
<xsl:template name="pomen_podpomen_logic"> <xsl:template name="pomen_podpomen_logic">
<xsl:apply-templates select="indikator | oznaka | pomenska_shema"/> <xsl:apply-templates select="indikator | oznaka | pomenska_shema"/>
<div style="padding: 0.5em 0;"> <div class="xslt-morelessbutton-div">
<a class="morelessbutton" href="javascript:void(null)">▼ more</a> <a class="morelessbutton" href="javascript:void(null)">▼ more</a>
</div> </div>
<div class="hideable" style="display: none; "> <div class="hideable" style="display: none; ">
@ -171,7 +178,7 @@
<xsl:number count="pomen" level="any"/> <xsl:number count="pomen" level="any"/>
</xsl:variable> </xsl:variable>
<div style="margin-bottom: 0.5em;"> <div class="xslt-podpomen">
<xsl:value-of select="$pomenNum"/>.<xsl:number/> <xsl:value-of select="$pomenNum"/>.<xsl:number/>
<xsl:call-template name="pomen_podpomen_logic"/> <xsl:call-template name="pomen_podpomen_logic"/>
</div> </div>