diff options
Diffstat (limited to 'viewer/src/components/LdCommand.vue')
-rw-r--r-- | viewer/src/components/LdCommand.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 7ffa670..19174ad 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue | |||
@@ -19,14 +19,14 @@ | |||
19 | --> | 19 | --> |
20 | 20 | ||
21 | <template> | 21 | <template> |
22 | <div class="flex command-btns"> | 22 | <div class="flex" :class="$style.commandBtns"> |
23 | <a class="link" :title="$t('command.search')" @click="$uiStore.toggleFullWidth()"> | 23 | <a class="link" :title="$t('command.search')" @click="$uiStore.toggleFullWidth()"> |
24 | <fa-icon :icon="commandToggleSearchPanelIcon" size="lg" /> | 24 | <fa-icon :icon="commandToggleSearchPanelIcon" size="lg" /> |
25 | </a> | 25 | </a> |
26 | <ld-command-sort /> | 26 | <ld-command-sort /> |
27 | <a | 27 | <a |
28 | :class="{ disabled: isEntryPoint() }" | 28 | class="link" |
29 | class="link command-secondary" | 29 | :class="{ disabled: isEntryPoint(), [$style.commandSecondary]: true }" |
30 | :title="$t('command.back')" | 30 | :title="$t('command.back')" |
31 | @click="isEntryPoint() || $router.back()" | 31 | @click="isEntryPoint() || $router.back()" |
32 | > | 32 | > |
@@ -68,11 +68,11 @@ export default class LdCommand extends Vue { | |||
68 | } | 68 | } |
69 | </script> | 69 | </script> |
70 | 70 | ||
71 | <style lang="scss"> | 71 | <style lang="scss" module> |
72 | @import "~@/assets/scss/_buefy_variables.scss"; | 72 | @import "~@/assets/scss/_buefy_variables.scss"; |
73 | @import "~@/assets/scss/theme.scss"; | 73 | @import "~@/assets/scss/theme.scss"; |
74 | 74 | ||
75 | .command-btns { | 75 | .commandBtns { |
76 | background-color: $command-buttons-bgcolor; | 76 | background-color: $command-buttons-bgcolor; |
77 | justify-content: space-around; | 77 | justify-content: space-around; |
78 | vertical-align: middle; | 78 | vertical-align: middle; |
@@ -90,7 +90,7 @@ export default class LdCommand extends Vue { | |||
90 | @media only screen and (max-width: $tablet) { | 90 | @media only screen and (max-width: $tablet) { |
91 | flex: 0 1; | 91 | flex: 0 1; |
92 | 92 | ||
93 | > .command-secondary { | 93 | > .commandSecondary { |
94 | display: none; | 94 | display: none; |
95 | } | 95 | } |
96 | } | 96 | } |