diff options
author | zeroinformatique | 2022-10-25 01:17:20 +0200 |
---|---|---|
committer | GitHub | 2022-10-25 01:17:20 +0200 |
commit | 6c1753ead0910cd892657841970287544d36bc7a (patch) | |
tree | b355743480955eb1de4fc84cd53e48776f924983 /viewer/src/views | |
parent | 948d712ffda410ae46e0a2583812a87ad47b38a5 (diff) | |
parent | c03a7e37288433dcc99ddb419e49df06a1eee576 (diff) | |
download | ldgallery-6c1753ead0910cd892657841970287544d36bc7a.tar.gz |
Merge pull request #324 from ldgallery/oz-fix-audio-item-color
viewer: wrong colour for icon and title for audio items
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/ItemThumbnail.vue | 2 | ||||
-rw-r--r-- | viewer/src/views/item_handlers/AudioViewer.vue | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/viewer/src/views/ItemThumbnail.vue b/viewer/src/views/ItemThumbnail.vue index 1c9e206..bf33043 100644 --- a/viewer/src/views/ItemThumbnail.vue +++ b/viewer/src/views/ItemThumbnail.vue | |||
@@ -40,7 +40,7 @@ | |||
40 | size="4x" | 40 | size="4x" |
41 | /> | 41 | /> |
42 | </div> | 42 | </div> |
43 | {{ item.title }} | 43 | <div v-text="item.title" /> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
diff --git a/viewer/src/views/item_handlers/AudioViewer.vue b/viewer/src/views/item_handlers/AudioViewer.vue index da9579f..bbba7e5 100644 --- a/viewer/src/views/item_handlers/AudioViewer.vue +++ b/viewer/src/views/item_handlers/AudioViewer.vue | |||
@@ -20,7 +20,10 @@ | |||
20 | 20 | ||
21 | <template> | 21 | <template> |
22 | <div class="flex-column container-vh-centering"> | 22 | <div class="flex-column container-vh-centering"> |
23 | <ItemThumbnail :item="item" /> | 23 | <ItemThumbnail |
24 | :item="item" | ||
25 | :class="$style.audiothumb" | ||
26 | /> | ||
24 | <audio | 27 | <audio |
25 | :class="$style.player" | 28 | :class="$style.player" |
26 | :src="itemResourceUrl" | 29 | :src="itemResourceUrl" |
@@ -56,6 +59,12 @@ const itemFileName = computed(() => navigation.getFileName(props.item)); | |||
56 | </script> | 59 | </script> |
57 | 60 | ||
58 | <style lang="scss" module> | 61 | <style lang="scss" module> |
62 | @import "~@/assets/scss/theme"; | ||
63 | |||
64 | .audiothumb { | ||
65 | color: $text-light; | ||
66 | } | ||
67 | |||
59 | .player { | 68 | .player { |
60 | width: 100%; | 69 | width: 100%; |
61 | max-width: 500px; | 70 | max-width: 500px; |