From caf613a4ef4f0e8abcf8558aed29fecdc7af6ba6 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 3 Feb 2025 23:47:42 +0200 Subject: [PATCH] client: find & replace: move the current index and total results counters inside the "Find in text" input field --- src/public/app/widgets/find.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/public/app/widgets/find.js b/src/public/app/widgets/find.js index ec7bd0da9..c85d0f5f7 100644 --- a/src/public/app/widgets/find.js +++ b/src/public/app/widgets/find.js @@ -33,11 +33,15 @@ const TPL = ` } .find-widget-found-wrapper { - font-weight: bold; + justify-content: center; + min-width: 60px; + padding: 0 4px; + font-size: .85em; + text-align: center; } .find-widget-search-term-input-group, .replace-widget-replacetext-input { - max-width: 300px; + max-width: 350px; } .find-widget-spacer { @@ -49,6 +53,13 @@ const TPL = `
+
+ + 0 + / + 0 + +
@@ -66,11 +77,7 @@ const TPL = ` -
- 0 - / - 0 -
+