aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdThumbnail.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-04-03 05:43:07 +0200
committerZero~Informatique2020-04-03 05:43:07 +0200
commitcaf68fd92912f9ffc2291ba823cc194c1cc1c61a (patch)
treea8308f9822f4f2c624af56a84abcee76a964ca45 /viewer/src/components/LdThumbnail.vue
parent332b208d3fdc91d29181c8f42ef5ff9b1fd1f09a (diff)
downloadldgallery-caf68fd92912f9ffc2291ba823cc194c1cc1c61a.tar.gz
viewer: items with long titles overflow
GitHub: Resolves #137
Diffstat (limited to 'viewer/src/components/LdThumbnail.vue')
-rw-r--r--viewer/src/components/LdThumbnail.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index 3ef7fa8..5166834 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -29,7 +29,7 @@
29 /> 29 />
30 <div v-else class="thumbnail-other flex-column flex-center"> 30 <div v-else class="thumbnail-other flex-column flex-center">
31 <fa-icon :icon="getIcon()" size="4x" /> 31 <fa-icon :icon="getIcon()" size="4x" />
32 {{item.title}} 32 {{item.title | underscore-to-space}}
33 </div> 33 </div>
34 </div> 34 </div>
35</template> 35</template>
@@ -66,6 +66,8 @@ export default class LdThumbnail extends Vue {
66 width: $thumbnail-other-size; 66 width: $thumbnail-other-size;
67 height: $thumbnail-other-size; 67 height: $thumbnail-other-size;
68 text-align: center; 68 text-align: center;
69 word-break: break-all;
70 overflow: hidden;
69} 71}
70 72
71.preload { 73.preload {