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;