mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: removes clip causing UI glitches on safari
This commit is contained in:
parent
0f0b2907a7
commit
4af7881cb7
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue