From 1f8ab377f798cb85ec44ad75ee019c0a7ca67ba6 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Tue, 24 Feb 2026 14:57:28 +0800 Subject: [PATCH] refactor(settings): Move Priority Tags into Download Path Templates section - Move Priority Tags setting from separate section to bottom of Download Path Templates - Fix help link button position to be inline with label using flexbox layout - Add CSS styles for .priority-tags-header-row and .priority-tags-header --- .../css/components/modal/settings-modal.css | 23 ++++- .../components/modals/settings_modal.html | 83 +++++++++---------- 2 files changed, 61 insertions(+), 45 deletions(-) diff --git a/static/css/components/modal/settings-modal.css b/static/css/components/modal/settings-modal.css index efcb0159..84894abc 100644 --- a/static/css/components/modal/settings-modal.css +++ b/static/css/components/modal/settings-modal.css @@ -440,11 +440,32 @@ gap: var(--space-2); } -.priority-tags-header { +.priority-tags-header-row { + display: flex; + flex-direction: row; align-items: center; justify-content: flex-start; } +.priority-tags-header-row .setting-info { + width: auto; + flex-shrink: 0; +} + +.priority-tags-header { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-start; + gap: 8px; + width: auto; +} + +.priority-tags-header label { + display: inline-flex; + white-space: nowrap; +} + .priority-tags-info { display: flex; align-items: center; diff --git a/templates/components/modals/settings_modal.html b/templates/components/modals/settings_modal.html index a47c4971..b0d2f8c1 100644 --- a/templates/components/modals/settings_modal.html +++ b/templates/components/modals/settings_modal.html @@ -508,6 +508,45 @@ + + +
+
+
+ + + + +
+
+
{{ t('settings.priorityTags.description') }}
+
+ + + + +
+ + + +
+ +
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
@@ -609,50 +648,6 @@ - - -
-
-

{{ t('settings.priorityTags.title') }}

-
-
-
-
- - - - -
-
-
{{ t('settings.priorityTags.description') }}
-
- - - - -
- - - -
- -
-
- -
-
-
- -
-
-
- -
-
-
-
-
-