mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
Update: Larger touch targets for mobile
This commit is contained in:
parent
7553572029
commit
e6418e5fab
1 changed files with 15 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue