aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorZero~Informatique2020-08-20 00:14:27 +0200
committerG.Fouet2020-09-11 21:53:18 +0200
commit4c839e0f30fad9e5df29f1f0682380581c582713 (patch)
tree763b80f708a1c08137627610487db29bc38bb6ad /viewer/src/views
parentb46f0c99bb6f73ddc2ecdc0e47655b7110251cc9 (diff)
downloadldgallery-4c839e0f30fad9e5df29f1f0682380581c582713.tar.gz
viewer: information panel with markdown
github: resolves #214 github: resolves #37
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/PanelLeft.vue9
1 files changed, 5 insertions, 4 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue
index 6341beb..f8d6faf 100644
--- a/viewer/src/views/PanelLeft.vue
+++ b/viewer/src/views/PanelLeft.vue
@@ -38,9 +38,9 @@
38 /> 38 />
39 </div> 39 </div>
40 <b-collapse animation="slide" :open.sync="infoOpen"> 40 <b-collapse animation="slide" :open.sync="infoOpen">
41 <h1 slot="trigger" class="title flex"> 41 <h1 slot="trigger" class="flex title">
42 Informations 42 {{ $t("panelLeft.information.title") }}
43 <fa-icon :icon="infoOpen ? 'caret-up' : 'caret-down'" /> 43 <fa-icon :icon="infoOpen ? 'caret-down' : 'caret-up'" />
44 </h1> 44 </h1>
45 <ld-information :item="$galleryStore.currentItem" /> 45 <ld-information :item="$galleryStore.currentItem" />
46 </b-collapse> 46 </b-collapse>
@@ -105,7 +105,8 @@ export default class PanelLeft extends Vue {
105 user-select: none; 105 user-select: none;
106 > svg { 106 > svg {
107 color: $link; 107 color: $link;
108 } 108 margin-top: 2px; // Fixes a vertical centering issue with the carret
109 }
109 } 110 }
110} 111}
111</style> 112</style>