Skip to content

Commit b7bcd7f

Browse files
committed
perf(css): improve browser performance by adding css contain property
1 parent e44a9bb commit b7bcd7f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/client/styles/main/host.scss

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*******
2+
* HOST
3+
*******/
4+
:host {
5+
contain: content;
6+
}

src/client/styles/rb-checkbox.scss

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@import 'sass/functions.scss';
55
@import 'sass/colors/palette.scss';
66
@import 'sass/colors/form-control.scss';
7+
@import 'main/host.scss';
78

89
/* The Component
910
****************/

0 commit comments

Comments
 (0)