Hide keyboard shortcuts indicator on mobile

This commit is contained in:
kolaente 2021-07-21 00:05:11 +02:00
parent cc53796f1b
commit 5913f78dc7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,9 +1,13 @@
.keyboard-shortcuts-button { .keyboard-shortcuts-button {
position: fixed; position: fixed;
bottom: calc(1rem - 4px); bottom: calc(1rem - 4px);
right: 1rem; right: 1rem;
z-index: 4500; // The modal has a z-index of 4000 z-index: 4500; // The modal has a z-index of 4000
color: $grey-500; color: $grey-500;
transition: color $transition; transition: color $transition;
@media screen and (max-width: $tablet) {
display: none;
}
} }