Prevent safari from zooming in on double-tap
Closes https://github.com/ornicar/lila/issues/8857pull/8985/head
parent
4d1d7daeb3
commit
23d99c39e0
|
@ -1,4 +1,5 @@
|
|||
.analyse-controls {
|
||||
@extend %double-tap;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
|
|
|
@ -248,3 +248,8 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
%double-tap {
|
||||
// prevent iPad safari from zooming in on double tap
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.cmn-toggle {
|
||||
@extend %double-tap;
|
||||
position: absolute;
|
||||
margin-left: -99999px;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
|
||||
#{$rmoves-tag} {
|
||||
@extend %flex-column;
|
||||
@extend %flex-column, %double-tap;
|
||||
|
||||
.buttons {
|
||||
@extend %box-shadow;
|
||||
|
|
Loading…
Reference in New Issue