From 4a160e17720cf1723866620a10b3dcdef29d8d18 Mon Sep 17 00:00:00 2001 From: Luna D Date: Tue, 2 Feb 2021 19:58:22 +0100 Subject: [PATCH] prevent source link overflow --- assets/css/views/_images.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/css/views/_images.scss b/assets/css/views/_images.scss index acac3b25..852b1161 100644 --- a/assets/css/views/_images.scss +++ b/assets/css/views/_images.scss @@ -219,7 +219,13 @@ span.spoiler div.image-container { } .js-source-link { - word-wrap: anywhere; + word-wrap: break-word; +} + +#image-source > p { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .interaction-user-list-item { @@ -315,4 +321,4 @@ span.spoiler div.image-container { .full-height { height: 100%; -} \ No newline at end of file +}