mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-10 10:09:14 -06:00
Fix FOUC issues in Firefox
- Prevent Flask Of Unstyled Content (FOUC) in Firefox "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." appears in the console. A quick search yielded that it can be prevented with this.
This commit is contained in:
@@ -49,7 +49,9 @@ layout: compress
|
|||||||
max-width: 60em !important;
|
max-width: 60em !important;
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</style>
|
</style>
|
||||||
|
<!-- Prevent FireFox from displaying FOUC with fake script tag. -->
|
||||||
|
<script>0</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>Ryan Walters</header>
|
<header>Ryan Walters</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user