The main frame should already be hidden during the loading, thanks to the sozi-blank-screen overlay z-index (src/templates/player.html l.98).
If we want to prevent the main frame to appear briefly before the loading screen on low config/for heavy svg file, we could specify the CSS selector to target only the svgs at the root, as such:
Summary of your problem or feature request
Svgs embedded in the main frame are not displayed.
The global style from the containing html file will be applied on each embedded svg and hide them.
The responsible style: src/templates/player.html l.25
Why use embedded svgs ?
The usage of embedded svgs (instead of
<image>
with reference) is required in order to make them interactive (as a link for instance).The current solution to make them appear is for the user to manually overwrite the style:
style="display: block;"
)<style> svg { display: block; } </style>
)Version of Sozi and other relevant software
Steps to reproduce the problem
Expected behavior
Embedded svgs should appear normally.
Observed behavior
They are currently hidden.
Hints and solutions (optional)
The main frame should already be hidden during the loading, thanks to the sozi-blank-screen overlay z-index (src/templates/player.html l.98).
If we want to prevent the main frame to appear briefly before the loading screen on low config/for heavy svg file, we could specify the CSS selector to target only the svgs at the root, as such: