From 22ee54dbaea1bfbcafca1c7c4627a1d8cbd5d121 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Sat, 25 Apr 2026 18:16:41 +0200 Subject: [PATCH] folder previews with bigger margin --- copyparty/web/browser.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 997fda80..94db6e32 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1028,6 +1028,10 @@ html.dz #flogout { margin: 0 auto; display: block; } +#ggrid>a.dir img { + max-width: calc(var(--grid-sz) - 20px); + margin: 10px auto 0 auto; +} #ggrid.nocrop>a img { max-height: 20em; max-height: calc(var(--grid-sz)*2); @@ -3712,6 +3716,18 @@ html.e #wrap.thin { #ghead { margin: 0 .5em 1em .5em; } + #ghead::after { + box-shadow: inset -.5em 0 1em var(--bg-u2); + content: ""; + position: sticky; + right: -.5em; + background: linear-gradient(to left, var(--bg-u2), transparent); + width: 3em; + height: 3.5em; + display: inline-block; + margin: -1em; + pointer-events: none; + } .modalsplit { display: block; overflow-y: auto;