Skip to content

Commit

Permalink
feat(hidden attribute): display style that respects the hidden attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jyounce committed Nov 17, 2018
1 parent e26a08c commit a0e31f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/styles/main/host.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
*******/
:host {
contain: content;
}
:host([hidden]) {
display: none;
}

0 comments on commit a0e31f3

Please sign in to comment.