From 083b0a1a747cbaf5d38c6073b9bee389eeb09792 Mon Sep 17 00:00:00 2001 From: chylex Date: Fri, 27 May 2022 20:25:41 +0200 Subject: Fix doubling the height of the content area Signed-off-by: chylex --- CHANGELOG.md | 1 + css/content.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bf2eda5a..adde05a7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1 - Fix updated api not returning any item after marking item as read (#1713) - Fix deprecation warning for strip_tags() on a null value (#1766) - Fix selected item being set incorrectly when using default ordering or newest first ordering (#1324) +- Fix doubling the height of the content area (#1796) # Releases diff --git a/css/content.css b/css/content.css index f2dff8ee2..2e64f61bd 100644 --- a/css/content.css +++ b/css/content.css @@ -137,7 +137,8 @@ #app-content:not(.explore) #articles:after { content: ''; display: block; - height: 100%; + /* Subtract the height of the Nextcloud header. */ + height: calc(100vh - 50px); background-repeat: no-repeat; } -- cgit v1.2.3