diff options
author | Notkea | 2020-10-17 23:34:50 +0200 |
---|---|---|
committer | GitHub | 2020-10-17 23:34:50 +0200 |
commit | b27e11e96fab44bb78da21a1937a60661856e73a (patch) | |
tree | fe5908ee117509774d7d84eadf683e8b45763cde | |
parent | 5711823339b53039c80b55b33f633319648748d9 (diff) | |
parent | 6b6c1145ab8e4e6894eb54b1c98fb4b02e0d17b3 (diff) | |
download | ldgallery-b27e11e96fab44bb78da21a1937a60661856e73a.tar.gz |
Merge pull request #274 from pacien/infopanel-pointer
viewer: set pointer cursor on collapsible info panel title bar
-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 { |