use css containment

This commit is contained in:
Nolan Lawson 2020-05-17 19:08:50 -07:00
parent 8592e874c3
commit d4955f145b
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
*, *::before, *::after {
.lep-picker & {
.lep-picker {
& *, *::before, *::after {
box-sizing: border-box;
}
contain: content;
}
// via https://stackoverflow.com/a/19758620
.lep-sr-only {
position: absolute;