Repos / hi.imnhan.com / 61d23ba4f6
commit 61d23ba4f6cf34599b0f30329e3347af90d65918
Author: Nhân <hi@imnhan.com>
Date: Wed Aug 23 21:48:05 2023 +0700
always show vertical scrollbar
diff --git a/_s4g/theme/base.css b/_s4g/theme/base.css
index 53a5d64..c10cd1f 100644
--- a/_s4g/theme/base.css
+++ b/_s4g/theme/base.css
@@ -3,6 +3,9 @@ html {
font-size: 1em;
max-width: 50rem;
margin: auto;
+ /* Always show scrollbar, to prevent content shifting when navigating
+ * between long and short pages: */
+ overflow-y: scroll;
}
p,