You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the TEI documents on Clarin.dk are extemely narrow, making reading them pretty hard if once is to respect the original formatting. An option to enable/disable this on-demand could be pretty useful.
Implementation
This could be implemented as
br { display: none; }
However, one complication is the fact that it would need to also apply to shadow-dom elements since it is used in the TEI reader. Perhaps the way to do it is by setting a variable in the page :root and using this as the display value for in tei.css, e.g.
br { display:var(--tei-br-display) ; }
Unsure if this would work. Another option is to rebuild the Hiccup every time this setting changes.
The text was updated successfully, but these errors were encountered:
A lot of this is caused by a lack of column support, though, so perhaps this is worth exploring first? e.g. dkclarin-7106986f-0142-419a-8e6d-d84b66d4ae3e_bolli_1678-B_CTB_body.xml uses the <cb> element to mark column beginnings.
Problem statement
Many of the TEI documents on Clarin.dk are extemely narrow, making reading them pretty hard if once is to respect the original formatting. An option to enable/disable this on-demand could be pretty useful.
Implementation
This could be implemented as
However, one complication is the fact that it would need to also apply to shadow-dom elements since it is used in the TEI reader. Perhaps the way to do it is by setting a variable in the page :root and using this as the display value for
in tei.css, e.g.
Unsure if this would work. Another option is to rebuild the Hiccup every time this setting changes.
The text was updated successfully, but these errors were encountered: