mirror of
https://github.com/flarum/framework.git
synced 2025-03-09 19:55:26 +08:00
Fix IOS scroll menu bug (#2527)
Fixes https://github.com/flarum/core/issues/1959 These transform lines are known to cause issues on iOS, and were added to hack around chrome issues that have since been fixed upstream.
This commit is contained in:
parent
111f615c60
commit
fb7ffc2351
@ -6,7 +6,6 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
z-index: @zindex-header;
|
z-index: @zindex-header;
|
||||||
border-bottom: 1px solid @control-bg;
|
border-bottom: 1px solid @control-bg;
|
||||||
.translate3d(0, 0, 0);
|
|
||||||
.transition(~"box-shadow 0.2s, -webkit-transform 0.2s");
|
.transition(~"box-shadow 0.2s, -webkit-transform 0.2s");
|
||||||
|
|
||||||
@media @phone {
|
@media @phone {
|
||||||
|
@ -219,7 +219,6 @@
|
|||||||
.Composer {
|
.Composer {
|
||||||
border-radius: @border-radius @border-radius 0 0;
|
border-radius: @border-radius @border-radius 0 0;
|
||||||
background: fade(@body-bg, 95%);
|
background: fade(@body-bg, 95%);
|
||||||
transform: translateZ(0); // Fix for Chrome bug where a transparent white background is actually gray
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
.transition(~"background 0.2s, box-shadow 0.2s");
|
.transition(~"background 0.2s, box-shadow 0.2s");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user