diff options
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 1b3f90b..0fe0164 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue | |||
@@ -26,12 +26,17 @@ | |||
26 | /> | 26 | /> |
27 | <ld-command-search @clear="clear" @search="search" /> | 27 | <ld-command-search @clear="clear" @search="search" /> |
28 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> | 28 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> |
29 | <ld-proposition | 29 | <div v-dragscroll class="scrollbar no-scroll-x"> |
30 | :search-filters.sync="searchFilters" | 30 | <ld-proposition |
31 | :tags-index="$galleryStore.tagsIndex" | 31 | v-for="(category) in $galleryStore.tagsCategories" |
32 | :current-tags="currentTags()" | 32 | :key="category.tag" |
33 | class="scrollbar no-scroll-x" | 33 | :category="$galleryStore.tagsIndex[category.tag]" |
34 | /> | 34 | :show-category="$galleryStore.tagsCategories.length > 1" |
35 | :search-filters.sync="searchFilters" | ||
36 | :tags-index="category.index" | ||
37 | :current-tags="currentTags()" | ||
38 | /> | ||
39 | </div> | ||
35 | </div> | 40 | </div> |
36 | </template> | 41 | </template> |
37 | 42 | ||
@@ -80,9 +85,14 @@ export default class PanelLeft extends Vue { | |||
80 | </script> | 85 | </script> |
81 | 86 | ||
82 | <style lang="scss"> | 87 | <style lang="scss"> |
88 | @import "@/assets/scss/theme.scss"; | ||
89 | |||
83 | .sidebar { | 90 | .sidebar { |
84 | .title { | 91 | .title { |
85 | margin: 0.2em 0.5em !important; | 92 | background-color: $proposed-category-bgcolor; |
93 | padding: 0.2em 0.5em; | ||
94 | margin: 0 0 1px 0; | ||
95 | font-variant: small-caps; | ||
86 | } | 96 | } |
87 | } | 97 | } |
88 | </style> | 98 | </style> |