FIX: removes clip causing UI glitches on safari

This commit is contained in:
Joffrey JAFFEUX 2017-11-11 12:16:00 -08:00 committed by GitHub
parent 0f0b2907a7
commit 4af7881cb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,11 +242,10 @@
} }
&.is-hidden { &.is-hidden {
clip: rect(0 0 0 0);
width: 1px; width: 1px;
height: 1px; height: 1px;
border: 0; border: 0;
margin: 0; margin: -1px;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
@ -269,11 +268,10 @@
} }
.select-box-kit-offscreen, .select-box-kit-offscreen:focus { .select-box-kit-offscreen, .select-box-kit-offscreen:focus {
clip: rect(0 0 0 0); margin: -1px;
width: 1px; width: 1px;
height: 1px; height: 1px;
border: 0; border: 0;
margin: 0;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;