Skip to content

Commit

Permalink
perf(css): improve browser performance by adding css contain property
Browse files Browse the repository at this point in the history
  • Loading branch information
jyounce committed Nov 17, 2018
1 parent 7889f02 commit e26a08c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/client/styles/main/host.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*******
* HOST
*******/
:host {
contain: content;
}
1 change: 1 addition & 0 deletions src/client/styles/rb-popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
********************************/
@import 'sass/functions.scss';
@import 'main/variables.scss';
@import 'main/host.scss';

// The Component
.rb-popover {
Expand Down

0 comments on commit e26a08c

Please sign in to comment.