From 720856bb353ab66a773e0a438d8af7f0a2188641 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sun, 12 Apr 2026 17:41:11 +1000 Subject: v0.8a --- Pages/Component/ButtonContainer.razor.css | 6 +++++ Pages/ViewMedia.razor | 44 ++++++++++++++++++++++++------- Pages/ViewMedia.razor.css | 14 +++++----- Pages/_Host.cshtml | 2 +- 4 files changed, 47 insertions(+), 19 deletions(-) (limited to 'Pages') diff --git a/Pages/Component/ButtonContainer.razor.css b/Pages/Component/ButtonContainer.razor.css index 6de94c7..c2d5d25 100644 --- a/Pages/Component/ButtonContainer.razor.css +++ b/Pages/Component/ButtonContainer.razor.css @@ -2,3 +2,9 @@ display: flex; justify-content: flex-end; } + +@media (hover: none) and (pointer: coarse) { + div { + justify-content: center; + } +} diff --git a/Pages/ViewMedia.razor b/Pages/ViewMedia.razor index c6ff2ce..27a366c 100644 --- a/Pages/ViewMedia.razor +++ b/Pages/ViewMedia.razor @@ -100,27 +100,51 @@
- - - + + + @if(infoEditMode) { - - + + } else { - + } @if(media.IsIngest) { - + } else { - + }
- 🖼 - 🛈 + +
diff --git a/Pages/ViewMedia.razor.css b/Pages/ViewMedia.razor.css index d5bac3e..080994a 100644 --- a/Pages/ViewMedia.razor.css +++ b/Pages/ViewMedia.razor.css @@ -20,6 +20,7 @@ div#image-container { box-sizing: border-box; flex: 1 0 0; height: 100%; + overflow: auto; padding: var(--size-default-gap); width: 100%; } @@ -210,16 +211,13 @@ div#bottom-bar { } } -div#bottom-bar > a { - color: white; - display: block; - font-size: 18pt; - margin: auto; - padding: 7px; - user-select: none; +div#bottom-bar > img { + color: white; + margin: auto; + padding: 10px; } -div#bottom-bar > a:active { +div#bottom-bar > img:active { /* TODO: Use colours from global.css */ background: white; color: #141414; diff --git a/Pages/_Host.cshtml b/Pages/_Host.cshtml index abee742..28ff24c 100644 --- a/Pages/_Host.cshtml +++ b/Pages/_Host.cshtml @@ -7,7 +7,7 @@ - + -- cgit v1.3