Commit b46bcbf2 authored by sendler's avatar sendler 🐢
Browse files

improve transformation and display of tei:fw

parent 9f162b5b
......@@ -379,7 +379,7 @@ return
<span id="page{string($node/@n)}" class="pb" facs="{ string($node/@facs) }">{ string($node/@n) }</span>
case element ( tei:fw ) return
if (string($node/@place) = 'top-right') then (
<div class="tei-fw" style="text-align:left"><span class="fw {string($node/@place)}">{ local:magic($node/node()) }</span></div>
<div class="tei-fw" style="text-align:right"><span class="fw {string($node/@place)}">{ local:magic($node/node()) }</span></div>
)
else (
<div class="tei-fw" style="text-align:left"><span class="fw {string($node/@place)}">{ local:magic($node/node()) }</span></div>
......
......@@ -106,4 +106,8 @@ caption {
display: list-item;
list-style: none;
margin-left: 1rem;
}
.topRight {
float: right;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment