From 52bc5a5f9ff92aba3bb3a8eeb8686bc18a486108 Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 18 Feb 2026 10:54:32 +0100 Subject: [PATCH] Use svg for control bar icon Simplifies alignment. In preparation for horizontal control bar modes. --- app/images/icons/novnc-icon-35x21.svg | 98 +++++++++++++++++++++++++++ app/styles/base.css | 5 +- vnc.html | 3 +- 3 files changed, 104 insertions(+), 2 deletions(-) create mode 100644 app/images/icons/novnc-icon-35x21.svg diff --git a/app/images/icons/novnc-icon-35x21.svg b/app/images/icons/novnc-icon-35x21.svg new file mode 100644 index 00000000..774c334a --- /dev/null +++ b/app/images/icons/novnc-icon-35x21.svg @@ -0,0 +1,98 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/styles/base.css b/app/styles/base.css index 10d2d305..58349353 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -536,7 +536,10 @@ html { /* Control bar content */ #noVNC_control_bar .noVNC_logo { - font-size: 13px; + display: block; + max-width: 35px; + max-height: 35px; + object-fit: contain; } .noVNC_logo + hr { diff --git a/vnc.html b/vnc.html index c36a0f07..84470dec 100644 --- a/vnc.html +++ b/vnc.html @@ -117,7 +117,8 @@
-

no
VNC

+