From 61414014fe22cfc0082cfdd5ed969f6032176940 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 13 Jul 2021 00:14:06 +0200 Subject: [PATCH] gallery: fix link overlapping image --- copyparty/web/browser.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 9d1f6028..0ed2ba87 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1179,8 +1179,10 @@ html.light #tree::-webkit-scrollbar { display: inline-block; width: auto; height: auto; - max-height: 100%; max-width: 100%; + max-height: 100%; + max-height: calc(100% - 1.4em); + margin-bottom: 1.4em; vertical-align: middle; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); } @@ -1189,11 +1191,10 @@ html.light #tree::-webkit-scrollbar { } #baguetteBox-overlay .full-image figcaption { display: block; - position: absolute; - bottom: 0; + position: fixed; + bottom: .1em; width: 100%; text-align: center; - line-height: 1.8; white-space: normal; color: #ccc; }