prevent FOUC

This commit is contained in:
Cory LaViska
2021-03-04 07:29:19 -05:00
parent 0bccc051d2
commit d4f5a170f5
2 changed files with 6 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Next
- Added `vscode.html-custom-data.json` to the build to support IntelliSense
- Added a style to prevent FOUC before components are defined
- Moved chunk files into a separate folder
- Updated esbuild to 0.8.54

View File

@@ -303,3 +303,8 @@
.sl-scroll-lock {
overflow: hidden !important;
}
// Prevent FOUC before elements are defined
:not(:defined) {
visibility: hidden;
}