From 9dc0b8222cc7ee68b9e9e01515cebb2f9bb54bba Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 19 Sep 2023 12:48:49 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- css/grid-n-view.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css/grid-n-view.css b/css/grid-n-view.css index 53b59d5..2affa13 100644 --- a/css/grid-n-view.css +++ b/css/grid-n-view.css @@ -289,6 +289,8 @@ button:active { /******************************************************** Toolbar ****/ +/* NOTE: this is used as a reference element to place the toolbars +* relative to... */ .gallery .toolbar-anchor { position: sticky; @@ -386,7 +388,7 @@ button:active { /* collapsed toolbar (default)... */ /* XXX shoud the toolbar be vertical??? */ .gallery .toolbar:not(.shown) { - translate: calc(-100% + var(--toolbar-button-size) + var(--padding)) 0; + translate: calc(-100% + var(--toolbar-button-size) + var(--padding) / 2) 0; left: 0;