From caf68fd92912f9ffc2291ba823cc194c1cc1c61a Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 3 Apr 2020 05:43:07 +0200 Subject: viewer: items with long titles overflow GitHub: Resolves #137 --- viewer/src/components/LdThumbnail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'viewer/src/components/LdThumbnail.vue') 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 @@ />
- {{item.title}} + {{item.title | underscore-to-space}}
@@ -66,6 +66,8 @@ export default class LdThumbnail extends Vue { width: $thumbnail-other-size; height: $thumbnail-other-size; text-align: center; + word-break: break-all; + overflow: hidden; } .preload { -- cgit v1.2.3