forked from abner/for-legacy-web
Update: Larger touch targets for mobile
parent
7553572029
commit
e6418e5fab
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue