From 49b373260f5b46e4aca30d33e1b723b729cf004f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 3 Jul 2023 15:16:41 +0200 Subject: [PATCH] Prevent the image file name from overlapping the close button See https://www.woltlab.com/community/thread/300453-bildtitel-kann-von-schlie%C3%9Fen-button-%C3%BCberdeckt-werden/ --- wcfsetup/install/files/style/ui/imageViewer.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/style/ui/imageViewer.scss b/wcfsetup/install/files/style/ui/imageViewer.scss index 31bfdc7c97..c50f7d04aa 100644 --- a/wcfsetup/install/files/style/ui/imageViewer.scss +++ b/wcfsetup/install/files/style/ui/imageViewer.scss @@ -178,6 +178,10 @@ h1 { font-size: 1.75rem; + max-width: calc(100% - 70px); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } h2 { -- 2.20.1