forked from abner/for-legacy-web
Update: Larger touch targets for mobile
This commit is contained in:
1 parent
7553572029
commit
e6418e5fab
1 file changed
+15
-4
@@ -22,10 +22,6 @@
|
||||
|
||||
&.compact {
|
||||
height: 32px;
|
||||
|
||||
&[data-mobile="true"] { // TOFIX: make sure this works on mobile
|
||||
height: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
&.user {
|
||||
@@ -148,3 +144,18 @@
|
||||
background: var(--error);
|
||||
}
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
.item {
|
||||
height: 55px;
|
||||
|
||||
&.compact {
|
||||
height: 50px;
|
||||
|
||||
div > svg {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user