I want to add, after searching more, that this is probably caused by a
custom css sheet.
in conf.py :
def setup(app):
app.add_stylesheet("styles.css")
And I have a "styles.css" file in "_static" folder.
everything seems OK but firefox is apparently having trouble taking the
style before loading everything ?
Le jeudi 27 février 2020 13:32:45 UTC+1, Benoit Leybaert a écrit :
>
> Hi,
>
> I have a problem with a svg logo set as the html_logo in conf.py :
>
> - In firefox, logo is taking all the page to load then resize instantly,
> or the text is loading without css during a split second :
>
> [image: Peek_27-02-2020_FIREFOX.gif]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> - Yet in Chromium, it works as expected :
>
> [image: Peek_27-02-2020_CHROME.gif]
>
> I can't seem to find the root of the problem... Would this be a bug with
> firefox, with a certain version of sphinx, or bad configuration ?
>
>
> Thanks,
>
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/1a101a26-67f8-4b91-b0e2-da6a61f9d362%40googlegroups.com.