From b014d060f3f16b2460da08cdf88bef25d05d5d3b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 29 Jan 2024 06:12:01 +0000
Subject: [PATCH] fix: content-disposition inline should apply to all resource types (closes #728)

---
 quartz/styles/base.scss |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 68ee111..d597ba7 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -4,7 +4,6 @@
 
 html {
   scroll-behavior: smooth;
-  -webkit-text-size-adjust: none;
   text-size-adjust: none;
   overflow-x: hidden;
   width: 100vw;
@@ -59,7 +58,6 @@
   text-decoration: none;
   transition: color 0.2s ease;
   color: var(--secondary);
-  display: inline-block;
 
   &:hover {
     color: var(--tertiary) !important;
@@ -70,6 +68,7 @@
     background-color: var(--highlight);
     padding: 0 0.1rem;
     border-radius: 5px;
+    line-height: 1.4rem;
 
     &:has(> img) {
       background-color: none;
@@ -356,6 +355,7 @@
     counter-increment: line 0;
     display: grid;
     padding: 0.5rem 0;
+    overflow-x: scroll;
 
     & [data-highlighted-chars] {
       background-color: var(--highlight);

--
Gitblit v1.10.0