From 199e1a84501b8149e2fdb7998e493f9920e2a665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Tue, 21 Feb 2023 00:20:14 +0100 Subject: [PATCH] css: Improve content shadow for short pages Extend the content container to viewport height, so the visual separation of the content and the sidebar items spreads over the whole height. --- assets/_custom.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/_custom.scss b/assets/_custom.scss index aa9199e..0ed45bd 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -1,5 +1,6 @@ .book-page { - box-shadow: 0px -1.5rem 1.5rem rgba(0, 0, 0, 0.15); + box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.15); + min-height: 100vh; padding-left: 2rem; padding-right: 2rem; }