From cbae88fc4e9b98764cfccca2e85f265c4b894573 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Mon, 31 Jul 2023 04:08:32 +0000
Subject: [PATCH] Removing redundant properties (#356)
---
quartz/components/ReadingTime.tsx | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/quartz/components/ReadingTime.tsx b/quartz/components/ReadingTime.tsx
index 9c64289..f802c87 100644
--- a/quartz/components/ReadingTime.tsx
+++ b/quartz/components/ReadingTime.tsx
@@ -5,7 +5,11 @@
const text = fileData.text
if (text) {
const { text: timeTaken, words } = readingTime(text)
- return <p class="reading-time">{words} words, {timeTaken}</p>
+ return (
+ <p class="reading-time">
+ {words} words, {timeTaken}
+ </p>
+ )
} else {
return null
}
@@ -14,7 +18,7 @@
ReadingTime.css = `
.reading-time {
margin-top: 0;
- opacity: 0.5;
+ color: var(--gray);
}
`
--
Gitblit v1.10.0