diff --git a/src/components/Images.vue b/src/components/Images.vue index 2a80277fe..8e8e270d1 100644 --- a/src/components/Images.vue +++ b/src/components/Images.vue @@ -21,34 +21,82 @@ --> @@ -277,7 +375,14 @@ export default { $checkered-size: 8px; $checkered-color: #efefef; -img { +.image_container { + display: flex; + align-items: center; + height: 100%; + justify-content: center; +} + +img, video { max-width: 100%; max-height: 100%; align-self: center; @@ -312,4 +417,18 @@ img { cursor: move; } } + +.live-photo_play_button { + position: absolute; + top: 0; + // left: is set dynamically on the element itself + margin: 16px !important; + display: flex; + align-items: center; + border: none; + gap: 4px; + border-radius: var(--border-radius); + padding: 4px 8px; + background-color: var(--color-main-background-blur); +} diff --git a/src/components/Videos.vue b/src/components/Videos.vue index 0f0b85eac..0d63f9b59 100644 --- a/src/components/Videos.vue +++ b/src/components/Videos.vue @@ -56,13 +56,13 @@