diff options
author | Zero~Informatique | 2020-02-10 14:39:19 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-10 14:39:19 +0100 |
commit | c158f21dfc2411cd8d6cbd36a9b0e90ff5265597 (patch) | |
tree | 9f6227d1321d9b65ee0710854b01de0350212d69 /viewer/src/components | |
parent | 1942eb9e6d323aca512e53732179c823139dd9a1 (diff) | |
download | ldgallery-c158f21dfc2411cd8d6cbd36a9b0e90ff5265597.tar.gz |
viewer: formatting and > a instead of > * in the CSS (the star selector is to be avoided if possible, it's slow and dangerous)
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdCommand.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 5953eac..5b9bbff 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue | |||
@@ -23,7 +23,12 @@ | |||
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 | <router-link to="/" class="command-secondary" :class="{'disabled': isRoot()}" :title="$t('command.home')"> | 26 | <router-link |
27 | to="/" | ||
28 | class="command-secondary" | ||
29 | :class="{'disabled': isRoot()}" | ||
30 | :title="$t('command.home')" | ||
31 | > | ||
27 | <fa-icon icon="home" size="lg" /> | 32 | <fa-icon icon="home" size="lg" /> |
28 | </router-link> | 33 | </router-link> |
29 | <a class="link command-secondary" :title="$t('command.back')" @click="$router.go(-1)"> | 34 | <a class="link command-secondary" :title="$t('command.back')" @click="$router.go(-1)"> |
@@ -67,7 +72,7 @@ export default class LdCommand extends Vue { | |||
67 | align-items: center; | 72 | align-items: center; |
68 | flex: 0 0 $layout-left; | 73 | flex: 0 0 $layout-left; |
69 | 74 | ||
70 | > * { | 75 | > a { |
71 | // normalise icon active boxes | 76 | // normalise icon active boxes |
72 | width: $layout-top; | 77 | width: $layout-top; |
73 | line-height: $layout-top; | 78 | line-height: $layout-top; |