Skip to content

Commit

Permalink
perf(ui): (backport from Qv2) hide SVGs inside invisible (#15225)
Browse files Browse the repository at this point in the history
close #15094
  • Loading branch information
pdanpdan committed Jan 6, 2023
1 parent 35bdd01 commit cad32e6
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 cad32e6

Please sign in to comment.