From 381c17e0bbdfb5793269a94cbe4060a58ebd14f0 Mon Sep 17 00:00:00 2001 From: Yat Ho Date: Sun, 26 May 2024 02:32:01 +0800 Subject: [PATCH] webui: fixed width for speed info (#6739) * webui: fixed width for speed info * fix: match download icon-text gap with upload * webui: move speed arrow to the right of the text --- web/assets/css/transmission-app.scss | 30 ++++++++---- web/public_html/index.html | 69 +++++++++++++++------------- 2 files changed, 57 insertions(+), 42 deletions(-) diff --git a/web/assets/css/transmission-app.scss b/web/assets/css/transmission-app.scss index bf769a09c..441212100 100644 --- a/web/assets/css/transmission-app.scss +++ b/web/assets/css/transmission-app.scss @@ -383,20 +383,30 @@ a { > * { margin-right: 5px; } -} -#speed-up-icon, -#speed-dn-icon { - fill: var(--color-fg-primary); + .speed-container { + display: inherit; + align-items: inherit; + flex-direction: inherit; - svg { - width: 20px; + &:not(:nth-child(1 of #mainwin-statusbar .speed-container)) { + width: 100px; + } } -} -#speed-dn-label, -#speed-up-label { - text-align: right; + #speed-up-icon, + #speed-dn-icon { + fill: var(--color-fg-primary); + + svg { + width: 20px; + } + } + + #speed-dn-label, + #speed-up-label { + text-align: right; + } } /// TORRENT CONTAINER diff --git a/web/public_html/index.html b/web/public_html/index.html index 54d767f2e..799faa29e 100755 --- a/web/public_html/index.html +++ b/web/public_html/index.html @@ -203,40 +203,45 @@   -
- - - +
+
+
+ + + +
-
-
- - - +
+ +
+
+ + + +
-