mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-29 21:01:27 +00:00
Hide keyboard shortcuts from mobile phone menubar
This commit is contained in:
@@ -285,6 +285,14 @@ class PuterContextMenu extends PuterWebComponent {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Keyboard shortcuts have no meaning on touch / small-screen
|
||||
devices — hide them so labels can use the full width. */
|
||||
@media (max-width: 480px), (pointer: coarse) {
|
||||
.shortcut {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
:host(.sheet-mode) .menu-item:hover:not(.disabled):not(.divider) {
|
||||
background-color: rgba(0, 122, 255, 0.1);
|
||||
color: inherit;
|
||||
|
||||
Reference in New Issue
Block a user