From feeedb0bf31314b182e7bbc135182f6e0bc859b2 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 26 Oct 2026 15:45:33 +0100 Subject: update zilch --- src/app/components/gallery/index.css | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'src/app/components/gallery/index.css') diff --git a/src/app/components/gallery/index.css b/src/app/components/gallery/index.css index c6a5817..35cab60 100644 --- a/src/app/components/gallery/index.css +++ b/src/app/components/gallery/index.css @@ -1,3 +1,34 @@ :host { - background: gray; + background: black; + --gallery-splits: 5; + display: flex; + flex-wrap: wrap; + overflow: auto; +} + +#control { + position: absolute; + bottom: 10px; + right: 70px; + width: 100px; + height: 50px; + background: var(--primary); + border-radius: 50px; + display: grid; + grid-template-columns: 1fr 1fr; + cursor: pointer; + user-select: none; + + div { + user-select: none; + color: var(--color); + width: 50px; + height: 50px; + text-align: center; + align-content: center; + } +} + +app-image { + width: calc(100% / var(--gallery-splits)); } -- cgit v1.2.3-70-g09d2