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

@@ -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;
}
}