From 7d40029380ac9c7292570ab31ebe1dd234efd7c7 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 15 Apr 2022 21:15:56 +0800 Subject: [PATCH] fix: first journal item height --- src/_root.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/_root.scss b/src/_root.scss index 9751459..6168039 100644 --- a/src/_root.scss +++ b/src/_root.scss @@ -37,6 +37,13 @@ html.is-native-iphone #left-sidebar { top: 0 !important; } +/** + * Journal page is too long for empty journals + */ +#journals .journal-item:first-child { + min-height: fit-content; +} + @supports ( (-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px)) ) {