From 039c87454bad034f2f97911d06fb6f5c98ab97d7 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 7 Jan 2021 13:02:24 +0100 Subject: [PATCH] Fixed debugging code and decreased channel tree font size --- shared/js/ui/tree/Channel.scss | 2 ++ shared/js/ui/tree/Client.scss | 2 ++ shared/js/ui/tree/RendererDataProvider.tsx | 1 - shared/js/ui/tree/Server.scss | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/shared/js/ui/tree/Channel.scss b/shared/js/ui/tree/Channel.scss index 7ea79bce..e8a77d41 100644 --- a/shared/js/ui/tree/Channel.scss +++ b/shared/js/ui/tree/Channel.scss @@ -60,6 +60,8 @@ html:root { .channelName { line-height: 1.2em; + font-size: .9em; + align-self: center; color: var(--channel-tree-entry-color); diff --git a/shared/js/ui/tree/Client.scss b/shared/js/ui/tree/Client.scss index c2210427..5c24bbc2 100644 --- a/shared/js/ui/tree/Client.scss +++ b/shared/js/ui/tree/Client.scss @@ -24,6 +24,8 @@ html:root { .clientName { line-height: 1.2em; + font-size: .9em; + min-width: 2em; flex-grow: 0; diff --git a/shared/js/ui/tree/RendererDataProvider.tsx b/shared/js/ui/tree/RendererDataProvider.tsx index 504d453e..5a446a07 100644 --- a/shared/js/ui/tree/RendererDataProvider.tsx +++ b/shared/js/ui/tree/RendererDataProvider.tsx @@ -329,7 +329,6 @@ export class RDPChannelTree { this.selection = new RDPTreeSelection(this); this.documentDragStopListener = () => { - return; /* FIXME: Remove! */ if(this.dragOverChannelEntry) { this.dragOverChannelEntry.setDragHint("none"); this.dragOverChannelEntry = undefined; diff --git a/shared/js/ui/tree/Server.scss b/shared/js/ui/tree/Server.scss index d237bd3f..6a94029c 100644 --- a/shared/js/ui/tree/Server.scss +++ b/shared/js/ui/tree/Server.scss @@ -26,6 +26,8 @@ color: var(--channel-tree-entry-color); min-width: 0; + font-size: .9em; + white-space: nowrap; overflow: hidden; text-overflow: ellipsis;