From b8c46ba81a24c89059c9cd473baac72b463eb177 Mon Sep 17 00:00:00 2001
From: Malcolm Mielle <malcolm.mielle@gmail.com>
Date: Mon, 30 Sep 2024 17:06:37 +0000
Subject: [PATCH] feat(analytics): clarity (#1446)
---
quartz/styles/base.scss | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index c70d8b6..9cf8cc9 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,8 +554,7 @@
& > li:last-of-type {
margin-bottom: 30px;
}
-
- &:after {
+ /*&:after {
pointer-events: none;
content: "";
width: 100%;
@@ -562,7 +565,7 @@
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
- }
+ }*/
}
.transclude {
--
Gitblit v1.10.0