Skip to content

Commit

Permalink
perf: hide SVGs inside invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Jan 5, 2023
1 parent fbfd891 commit 507326c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/css/core/visibility.sass
Expand Up @@ -40,6 +40,8 @@
visibility: hidden !important
transition: none !important
animation: none !important
.invisible svg *
display: none
.transparent
background: transparent !important

Expand Down
2 changes: 2 additions & 0 deletions ui/src/css/core/visibility.styl
Expand Up @@ -40,6 +40,8 @@
visibility: hidden !important
transition: none !important
animation: none !important
.invisible svg *
display: none
.transparent
background: transparent !important

Expand Down

0 comments on commit 507326c

Please sign in to comment.