fix: mobile menus will position off screen, clipped #1068

This commit is contained in:
charlie
2021-01-10 12:26:59 +08:00
committed by Tienson Qin
parent 50a5d15d2d
commit 11a40833a3
3 changed files with 14 additions and 0 deletions

View File

@@ -42,6 +42,14 @@
}
}
.is-mobile {
.absolute-modal {
&.is-overflow-vw-x {
transform: translateX(-1%);
}
}
}
.non-block-editor textarea,
pre {
display: block;