From a72b1a422485d4f2258e58c1f76f933cb24cf455 Mon Sep 17 00:00:00 2001
From: Felix Nie <hongtuo.nie@u.nus.edu>
Date: Sun, 16 Mar 2025 19:08:45 +0000
Subject: [PATCH] fix(explorer): vertically center the Explorer toggle under mobile view (#1847)
---
quartz/util/og.tsx | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/quartz/util/og.tsx b/quartz/util/og.tsx
index f912b8a..4901a53 100644
--- a/quartz/util/og.tsx
+++ b/quartz/util/og.tsx
@@ -266,6 +266,7 @@
WebkitBoxOrient: "vertical",
WebkitLineClamp: 2,
overflow: "hidden",
+ textOverflow: "ellipsis",
}}
>
{title}
@@ -287,8 +288,9 @@
margin: 0,
display: "-webkit-box",
WebkitBoxOrient: "vertical",
- WebkitLineClamp: 4,
+ WebkitLineClamp: 5,
overflow: "hidden",
+ textOverflow: "ellipsis",
}}
>
{description}
--
Gitblit v1.10.0