From cd9dc6ecb570c08291e73d9db001e6068df4d88a Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 07 Aug 2023 05:07:08 +0000
Subject: [PATCH] fix css transforms for mobile
---
quartz/styles/base.scss | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 2c54527..e219cc5 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -7,6 +7,8 @@
scroll-behavior: smooth;
-webkit-text-size-adjust: none;
text-size-adjust: none;
+ overflow-x: none;
+ width: 100vw;
}
body {
@@ -83,7 +85,7 @@
@media all and (max-width: $fullPageWidth) {
margin: 0 auto;
padding: 0 1rem;
- // max-width: 800px;
+ max-width: $pageWidth;
}
& article {
@@ -164,9 +166,9 @@
& .center,
& footer {
- width: $pageWidth;
margin-left: auto;
margin-right: auto;
+ width: $pageWidth;
@media all and (max-width: $fullPageWidth) {
width: initial;
margin-left: 0;
@@ -431,7 +433,7 @@
ul.overflow,
ol.overflow {
- height: 400px;
+ height: 300px;
overflow-y: scroll;
// clearfix
--
Gitblit v1.10.0