Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 5875ffe

Browse files
vosatomjirutka
authored andcommitted
Fix zooming on iOS
1 parent 6decfae commit 5875ffe

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/stylesheets/_base.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ $grid-line-width: 1.5px;
6767

6868
// WP history swipe hack ( disable swiping right and left handling )
6969
* {
70-
touch-action: pan-y;
70+
touch-action: manipulation;
7171
}
7272

7373
// Highlight color
@@ -87,6 +87,12 @@ $grid-line-width: 1.5px;
8787
}
8888
}
8989

90+
@media #{$small-down} {
91+
body {
92+
font-size: 16px;
93+
}
94+
}
95+
9096
// Hidden
9197
.u-hidden {
9298
display: none;

src/stylesheets/components/_header-responsive.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ header {
2323
&.row {
2424
background: $primary-color;
2525
margin: 0 !important;
26-
padding: 10px 20px 5px;
26+
padding: 10px 20px 6px;
2727
}
2828

2929
h1 {

0 commit comments

Comments
 (0)