summaryrefslogtreecommitdiff
path: root/src/style.css
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-05-05 19:02:08 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-05-05 19:02:08 -0500
commita3651595531e210916b29f66ac7cce61d5d87670 (patch)
treeb7b1b651d6c506c4152b242f7887f2294b1254f5 /src/style.css
parent2e43088aa2db9450a670540cbc899c141f5c1c1a (diff)
downloadimmich-frame-a3651595531e210916b29f66ac7cce61d5d87670.tar.xz
immich-frame-a3651595531e210916b29f66ac7cce61d5d87670.zip
fix gallery size, css changes center controls for slideshow
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css45
1 files changed, 27 insertions, 18 deletions
diff --git a/src/style.css b/src/style.css
index 0175b0c..8149462 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1,14 +1,31 @@
body {
background: black;
color: white;
+ height: 100vh;
+ max-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ margin: 0;
+}
+
+main, #slideshow {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
}
svg {
fill: white;
+ width: 100%;
+ height: 100%;
+}
+
+#slideshow-carousel {
+ height: 100%
}
.carousel-cell {
- height: 70vh;
+ height: 100%;
width: 80vw;
margin: 24px;
@@ -24,15 +41,6 @@ svg {
object-fit: contain;
}
-
-/*
-@media (max-width: 768px) {
- .carousel-cell {
- height: 100vh;
- }
-}
-*/
-
#slideshow-share button,
#slideshow-bottom-controls button {
background: none;
@@ -57,16 +65,18 @@ svg {
#slideshow-bottom-controls {
- margin: auto;
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ margin: 48px auto;
max-width: 768px;
- button { width: 48px; height: 48px; }
+ button {
+ width: 48px;
+ height: 48px;
+ margin: auto;
+ }
}
-
-
footer {
- position: fixed;
- bottom: 0;
width: 100%;
}
@@ -76,8 +86,7 @@ footer {
}
#menu {
- a { width: 100% }
- svg { height: 48px; width: 100% }
+ a { width: 100%; height: 48px }
display: flex;
width: 100%;
padding: 16px;