From 4af7881cb7fc6600c40f0cbb40670e8b5657affc Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Sat, 11 Nov 2017 12:16:00 -0800 Subject: [PATCH] FIX: removes clip causing UI glitches on safari --- .../stylesheets/common/select-box-kit/select-box-kit.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/select-box-kit/select-box-kit.scss b/app/assets/stylesheets/common/select-box-kit/select-box-kit.scss index 05f7d620f58..fc8fb103f77 100644 --- a/app/assets/stylesheets/common/select-box-kit/select-box-kit.scss +++ b/app/assets/stylesheets/common/select-box-kit/select-box-kit.scss @@ -242,11 +242,10 @@ } &.is-hidden { - clip: rect(0 0 0 0); width: 1px; height: 1px; border: 0; - margin: 0; + margin: -1px; padding: 0; overflow: hidden; position: fixed; @@ -269,11 +268,10 @@ } .select-box-kit-offscreen, .select-box-kit-offscreen:focus { - clip: rect(0 0 0 0); + margin: -1px; width: 1px; height: 1px; border: 0; - margin: 0; padding: 0; overflow: hidden; position: fixed;