diff options
Diffstat (limited to 'viewer/src/views/PanelLeft.vue')
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 0ab3aa8..ea61865 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue | |||
@@ -37,7 +37,7 @@ | |||
37 | :current-tags="currentTags" | 37 | :current-tags="currentTags" |
38 | /> | 38 | /> |
39 | </div> | 39 | </div> |
40 | <h1 class="flex title" @click="infoOpen = !infoOpen"> | 40 | <h1 :class="$style.infoPanelTitleBar" class="flex title" @click="infoOpen = !infoOpen"> |
41 | {{ $t("panelLeft.information.title") }} | 41 | {{ $t("panelLeft.information.title") }} |
42 | <fa-icon :icon="infoOpen ? 'caret-down' : 'caret-up'" /> | 42 | <fa-icon :icon="infoOpen ? 'caret-down' : 'caret-up'" /> |
43 | </h1> | 43 | </h1> |
@@ -48,14 +48,14 @@ | |||
48 | </template> | 48 | </template> |
49 | 49 | ||
50 | <script lang="ts"> | 50 | <script lang="ts"> |
51 | import { Component, Vue, Prop, Watch } from "vue-property-decorator"; | 51 | import { TagSearch } from "@/@types/tag"; |
52 | import { Dictionary, Route } from "vue-router/types/router"; | ||
53 | import Navigation from "@/services/navigation"; | 52 | import Navigation from "@/services/navigation"; |
54 | import IndexFactory from "@/services/indexfactory"; | 53 | import { Component, Vue, Watch } from "vue-property-decorator"; |
54 | import { Dictionary, Route } from "vue-router/types/router"; | ||
55 | 55 | ||
56 | @Component | 56 | @Component |
57 | export default class PanelLeft extends Vue { | 57 | export default class PanelLeft extends Vue { |
58 | searchFilters: Tag.Search[] = []; | 58 | searchFilters: TagSearch[] = []; |
59 | infoOpen: boolean = true; | 59 | infoOpen: boolean = true; |
60 | 60 | ||
61 | mounted() { | 61 | mounted() { |
@@ -108,6 +108,10 @@ export default class PanelLeft extends Vue { | |||
108 | margin-top: 2px; // Fixes a vertical centering issue with the carret | 108 | margin-top: 2px; // Fixes a vertical centering issue with the carret |
109 | } | 109 | } |
110 | } | 110 | } |
111 | |||
112 | .infoPanelTitleBar { | ||
113 | cursor: pointer; | ||
114 | } | ||
111 | } | 115 | } |
112 | 116 | ||
113 | .flexShrinkFully { | 117 | .flexShrinkFully { |