const pageContainer = document.getElementById("pageContainer")!;
- // iOS does not handle overflow and fixed positioning well, we need to
- // simulate the scrolling by vertically moving the container.
if (is("screen-md-down")) {
pageContainer.style.setProperty("position", "relative", "");
pageContainer.style.setProperty("top", `-${_scrollTop}px`, "");
_scrollOffsetFrom = "documentElement";
}
const pageContainer = document.getElementById("pageContainer");
- // iOS does not handle overflow and fixed positioning well, we need to
- // simulate the scrolling by vertically moving the container.
if (is("screen-md-down")) {
pageContainer.style.setProperty("position", "relative", "");
pageContainer.style.setProperty("top", `-${_scrollTop}px`, "");
@include wcfFontDefault;
}
+html {
+ overflow-y: scroll;
+}
+
body {
background-color: var(--wcfContentBackground);
color: var(--wcfContentText);