From 5eec1e98e6f6b16d4a29cdbbc69c573fb06e538d Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Wed, 25 Sep 2024 22:15:07 +0000
Subject: [PATCH] fix(layout): grid triage with backlinks (#1442)
---
quartz/styles/base.scss | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index c70d8b6..8511b2d 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -250,6 +250,8 @@
& .center,
& footer {
+ max-width: 100%;
+ min-width: 100%;
margin-left: auto;
margin-right: auto;
@media all and ($desktop) {
@@ -416,7 +418,7 @@
counter-increment: line 0;
display: grid;
padding: 0.5rem 0;
- overflow-x: scroll;
+ overflow-x: auto;
& [data-highlighted-chars] {
background-color: var(--highlight);
@@ -535,12 +537,14 @@
}
div:has(> .overflow) {
- position: relative;
+ display: flex;
+ overflow-y: auto;
+ max-height: 100%;
}
ul.overflow,
ol.overflow {
- max-height: 400;
+ max-height: 100%;
overflow-y: auto;
// clearfix
@@ -550,7 +554,6 @@
& > li:last-of-type {
margin-bottom: 30px;
}
-
&:after {
pointer-events: none;
content: "";
--
Gitblit v1.10.0