feat: merge keyboard-shortcuts.scss styles with component

This commit is contained in:
Dominik Pschenitschni 2021-10-18 14:20:39 +02:00
parent 9ca8857d89
commit f74cf516d2
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
3 changed files with 16 additions and 14 deletions

View file

@ -132,3 +132,19 @@ export default {
}, },
} }
</script> </script>
<style lang="scss" scoped>
.keyboard-shortcuts-button {
position: fixed;
bottom: calc(1rem - 4px);
right: 1rem;
z-index: 4500; // The modal has a z-index of 4000
color: $grey-500;
transition: color $transition;
@media screen and (max-width: $tablet) {
display: none;
}
}
</style>

View file

@ -12,6 +12,5 @@
@import "list-backgrounds"; @import "list-backgrounds";
@import "namespaces"; @import "namespaces";
@import "legal"; @import "legal";
@import "keyboard-shortcuts";
@import "notifications"; @import "notifications";
@import "quick-actions"; @import "quick-actions";

View file

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