aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorZero~Informatique2020-02-10 14:39:19 +0100
committerZero~Informatique2020-02-10 14:39:19 +0100
commitc158f21dfc2411cd8d6cbd36a9b0e90ff5265597 (patch)
tree9f6227d1321d9b65ee0710854b01de0350212d69 /viewer
parent1942eb9e6d323aca512e53732179c823139dd9a1 (diff)
downloadldgallery-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')
-rw-r--r--viewer/src/components/LdCommand.vue9
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;