From 1794d45ff3aa0238e72edc7f56c322bbacbd860a Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Sun, 30 Jan 2022 13:03:46 +0100 Subject: [PATCH] gui: Fix ignoreDelete warning formatting (ref #8054) (#8138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ignoreDelete warning code originally comprised of two sentences, which in total were much longer than the current one. Because of that, some additional fixes were added to make it present itself better, e.g. white-space was set to normal to allow for text wrap on narrow screens, and the help link was moved to a new line to make sure both the anchor and the question mark always stayed together. However, the code fixes remained despite the final text being much shorter than the original. Therefore, remove the unnecessary white-space formatting, and also move the help link right next to the warning. This makes it clear that the link is related to this particular warning when both it and the ignore patterns warning are displayed at the same time. Ref: https://github.com/syncthing/syncthing/pull/8054#issuecomment-978148117 Signed-off-by: Tomasz WilczyƄski --- gui/default/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index 0f9af35d3..cb76bf791 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -430,9 +430,10 @@
- Altered by ignoring deletes. -
-  Help + Altered by ignoring deletes. + +  Help +