From d9e36e60d1e7a985f06fdfef152811074e7c0701 Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Mon, 30 Dec 2024 17:55:53 +0000
Subject: [PATCH] fix(search): Fix super-inconsistent preview widths in search previews (#1677)
---
quartz/plugins/transformers/links.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts
index b6a2c91..3e8dbde 100644
--- a/quartz/plugins/transformers/links.ts
+++ b/quartz/plugins/transformers/links.ts
@@ -65,7 +65,9 @@
type: "element",
tagName: "svg",
properties: {
+ "aria-hidden": "true",
class: "external-icon",
+ style: "max-width:0.8em;max-height:0.8em",
viewBox: "0 0 512 512",
},
children: [
--
Gitblit v1.10.0