diff options
author | pacien | 2020-10-17 20:54:18 +0200 |
---|---|---|
committer | pacien | 2020-10-17 20:54:18 +0200 |
commit | 6b6c1145ab8e4e6894eb54b1c98fb4b02e0d17b3 (patch) | |
tree | 687311655da4816c0c21061eaac07e1a90f21d9a /viewer/src | |
parent | 36ba63ee29e8d24dcd0d173560d42045210c0965 (diff) | |
download | ldgallery-6b6c1145ab8e4e6894eb54b1c98fb4b02e0d17b3.tar.gz |
viewer: set pointer cursor on collapsible info panel title bar
GitHub: closes #269
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 0ab3aa8..d2a3656 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> |
@@ -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 { |