-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(styles): set initial component visibility to hidden to prevent f…
…lickering (#3814) Co-authored-by: Philipp Gfeller <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
@use './mixins' as *; | ||
@use './variables' as *; | ||
@use './not-defined' as *; | ||
|
||
@use './temp/legacy'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
Initial visibility of the components is set to hidden to prevent 'flickering' effect due to stencil js/scss delay. | ||
*/ | ||
|
||
:where( | ||
post-list, | ||
post-list-item, | ||
post-accordion, | ||
post-accordion-item, | ||
post-alert, | ||
post-card-control, | ||
post-collapsible, | ||
post-icon, | ||
post-logo, | ||
post-popover, | ||
post-popovercontainer, | ||
post-rating, | ||
post-tab-header, | ||
post-tab-panel, | ||
post-tabs, | ||
post-tag, | ||
post-tooltip | ||
):not(:defined) { | ||
visibility: hidden; | ||
} |