Commit e22fc1aa authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

fixes issue with zone/child::note

parent e5ad9d49
......@@ -508,7 +508,7 @@ declare function transfo:line($node as element(tei:line)) {
(if($node//text()[not(parent::tei:fw)]) then () else ('height:0.6cm;')),
( (: line-height given in div.zone[style] has no effect wheren large rendering is needed :)
if($node//*[contains(string(@style), 'large')] or $node//ancestor::tei:zone[contains(string(@style), 'large')])
then replace( transfo:lineHeight($node/parent::tei:zone), 'line-height', 'max-height')
then replace( transfo:lineHeight($node/ancestor::tei:zone[1]), 'line-height', 'max-height')
else ())
), ';')
},
......
Markdown is supported
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