From 5a27fa7d97eb6f85171730179cba4cdd3dc9b34f Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Fri, 13 Mar 2020 00:18:53 +0000
Subject: [PATCH] fix styling of server name in handle
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
res/css/views/directory/_NetworkDropdown.scss | 5 +++++
src/components/views/directory/NetworkDropdown.js | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/res/css/views/directory/_NetworkDropdown.scss b/res/css/views/directory/_NetworkDropdown.scss
index 1f55531602..f017ed9dcd 100644
--- a/res/css/views/directory/_NetworkDropdown.scss
+++ b/res/css/views/directory/_NetworkDropdown.scss
@@ -149,4 +149,9 @@ limitations under the License.
mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
background-color: $primary-fg-color;
}
+
+ .mx_NetworkDropdown_handle_server {
+ color: $muted-fg-color;
+ font-size: 12px;
+ }
}
diff --git a/src/components/views/directory/NetworkDropdown.js b/src/components/views/directory/NetworkDropdown.js
index 229f80ef29..8369926fb4 100644
--- a/src/components/views/directory/NetworkDropdown.js
+++ b/src/components/views/directory/NetworkDropdown.js
@@ -223,7 +223,7 @@ const NetworkDropdown = ({onOptionChange, protocols = {}, selectedServerName, se
>
{currentValue}
-
+
({selectedServerName})
;