diff options
author | Samuel Mannehed <samuel@cendio.se> | 2022-12-15 10:41:00 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2022-12-15 10:44:27 +0100 |
commit | 05baf14256a4640e15cda63cc2ac576f44482775 (patch) | |
tree | 8b325ce9109ae3068b9e5043d2b4afce858f055b /vnc.html | |
parent | e7ef963a8f0c9c1be0ce5cc7468dd3e7bd254030 (diff) | |
download | novnc-05baf14256a4640e15cda63cc2ac576f44482775.tar.gz |
Remove outer div from noVNC_connect_button
Instead of having an outer "box", we can use an outline on the button
itself to create this "platform". Since the outline isn't part of the
size of the element, it will appear wider than before, when compared to
the logo. To counteract that we remove the left and right padding from
the logo to make the entire noVNC_connect_dlg more narrow.
We also had to slightly adjust the :active style since we don't want the
entire "platform" to move when the button is clicked.
Diffstat (limited to 'vnc.html')
-rw-r--r-- | vnc.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -274,9 +274,9 @@ <div class="noVNC_center"> <div id="noVNC_connect_dlg"> <div class="noVNC_logo" translate="no"><span>no</span>VNC</div> - <div id="noVNC_connect_box"><button> + <button id="noVNC_connect_button"> <img alt="" src="app/images/connect.svg"> Connect - </button></div> + </button> </div> </div> |