From f560e8c850e177b295509248dc49b09eb9bd5888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Wilczy=C5=84ski?= <5626656+tomasz1986@users.noreply.github.com> Date: Sun, 3 May 2020 02:34:28 +0900 Subject: gui: Prevent text overflow in file lists (fixes #6268) (#6292) --- gui/default/assets/css/overrides.css | 5 +++++ gui/default/syncthing/device/globalChangesModalView.html | 2 +- gui/default/syncthing/transfer/localChangedFilesModalView.html | 2 +- gui/default/syncthing/transfer/remoteNeededFilesModalView.html | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gui/default/assets/css/overrides.css b/gui/default/assets/css/overrides.css index 3f10295cda..2409dab225 100644 --- a/gui/default/assets/css/overrides.css +++ b/gui/default/assets/css/overrides.css @@ -136,6 +136,11 @@ table.table-auto td { max-width: 0px; } +/* Wrap long file paths to prevent text overflow. See issue #6268. */ +.file-path { + word-break: break-all; +} + .folder-advanced { padding: 1rem; margin-bottom: 15px; diff --git a/gui/default/syncthing/device/globalChangesModalView.html b/gui/default/syncthing/device/globalChangesModalView.html index 168b2f8ed1..531ee94b55 100644 --- a/gui/default/syncthing/device/globalChangesModalView.html +++ b/gui/default/syncthing/device/globalChangesModalView.html @@ -20,7 +20,7 @@