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/components/pages/TagContent.tsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx
index c703b65..e56c6d6 100644
--- a/quartz/components/pages/TagContent.tsx
+++ b/quartz/components/pages/TagContent.tsx
@@ -93,7 +93,7 @@
                         </>
                       )}
                     </p>
-                    <PageList limit={options.numPages} {...listProps} sort={opts?.sort} />
+                    <PageList limit={options.numPages} {...listProps} sort={options?.sort} />
                   </div>
                 </div>
               )
@@ -114,7 +114,7 @@
           <div class="page-listing">
             <p>{i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })}</p>
             <div>
-              <PageList {...listProps} />
+              <PageList {...listProps} sort={options?.sort} />
             </div>
           </div>
         </div>

--
Gitblit v1.10.0