forked from abner/for-legacy-web
Update: Larger touch targets for mobile
This commit is contained in:
@@ -22,10 +22,6 @@
|
|||||||
|
|
||||||
&.compact {
|
&.compact {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
||||||
&[data-mobile="true"] { // TOFIX: make sure this works on mobile
|
|
||||||
height: 50px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.user {
|
&.user {
|
||||||
@@ -148,3 +144,18 @@
|
|||||||
background: var(--error);
|
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