From ec4591145662d6abdb64f76955d7e7b24d200307 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Thu, 22 Dec 2022 10:22:34 +0100 Subject: [PATCH] Don't show virtual keyboard button in webkit Webkit browsers don't support Media Queries 4, which means we have to use a slightly convoluted syntax when writing "@media not...". Otherwise the "(any-pointer: coarse)" part evaluates as the device part of the query. --- app/styles/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/styles/base.css b/app/styles/base.css index e3a7ae17..e35dee99 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -553,7 +553,7 @@ html { :root:not(.noVNC_connected) #noVNC_mobile_buttons { display: none; } -@media not (any-pointer: coarse) { +@media not all and (any-pointer: coarse) { /* FIXME: The button for the virtual keyboard is the only button in this group of "mobile buttons". It is bad to assume that no touch devices have physical keyboards available. Hopefully we can get