From c4c964a685ff2e312fe7328bcd9fbd718574ce77 Mon Sep 17 00:00:00 2001 From: icxes Date: Sat, 10 Sep 2022 02:06:17 +0300 Subject: [PATCH] simplify style and make gaps equal size --- copyparty/web/browser.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 662842cb..44c28a7c 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -2898,7 +2898,18 @@ html.d #treepar { display: grid; margin: unset; padding: unset; - grid-template-columns: repeat(auto-fit,calc(var(--grid-sz) + 1.7em)); + grid-template-columns: repeat(auto-fit,var(--grid-sz)); justify-content: center; + gap: 1em; + } + + #ggrid > a { + margin: unset; + padding: unset; + } + + #ggrid>a>span { + text-align: center; + padding: 0.2em; } }