From 128288bd54796be61473027151238710e52e83f7 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 4 Oct 2022 23:17:01 +0300 Subject: improved tablet detection --- web/share/css/radio.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/share/css/radio.css') diff --git a/web/share/css/radio.css b/web/share/css/radio.css index 65a6a043..71bd6076 100644 --- a/web/share/css/radio.css +++ b/web/share/css/radio.css @@ -45,8 +45,8 @@ div.radio-box label:not(:last-of-type) { margin-right: 1px; box-shadow: 1px 0 0 0 var(--cs-control-pressed-bg); } -@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { - div.radio-box label { +@media only screen and (hover: none) and (pointer: coarse) and (orientation: portrait) { + div.radio-box input[type=radio] + label { height: 30px !important; } } -- cgit v1.2.3