improved tablet detection

This commit is contained in:
Maxim Devaev
2022-10-04 23:17:01 +03:00
parent 056d8d037b
commit 128288bd54
10 changed files with 12 additions and 16 deletions

View File

@@ -20,7 +20,7 @@
*****************************************************************************/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
@media only screen and (hover: none) and (pointer: coarse) {
div#keyboard-window {
visibility: visible !important;
padding-top: 9px !important;
@@ -47,7 +47,7 @@ div#keyboard-desktop {
div#keyboard-mobile {
display: none;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
@media only screen and (hover: none) and (pointer: coarse) {
div#keyboard-desktop {
display: none !important;
}

View File

@@ -103,7 +103,7 @@ div#stream-mouse-buttons {
display: none;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
@media only screen and (hover: none) and (pointer: coarse) {
div#stream-window {
padding-top: 3px !important;
border-top: 0 !important;