diff options
author | pacien | 2020-02-10 20:20:25 +0100 |
---|---|---|
committer | pacien | 2020-02-10 20:20:28 +0100 |
commit | 85950b42384d315f74a4e6b1077618cd557bb15a (patch) | |
tree | 011e0f4a4b7ba97df547c62fddd11c0c68a8972a /viewer/src | |
parent | cfc2f65479bca39e77cfc6b3e2437f6e8022496f (diff) | |
download | ldgallery-85950b42384d315f74a4e6b1077618cd557bb15a.tar.gz |
viewer: sidebar: self-contain style
We'll polish that later when groups are done.
For now let's have this styling self-contained.
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/assets/scss/global.scss | 6 | ||||
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index 811a899..ed69841 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss | |||
@@ -27,12 +27,6 @@ | |||
27 | color: red; | 27 | color: red; |
28 | } | 28 | } |
29 | 29 | ||
30 | // === Titles | ||
31 | |||
32 | .title { | ||
33 | margin: 0.2em 0.5em !important; | ||
34 | } | ||
35 | |||
36 | // === Tools | 30 | // === Tools |
37 | 31 | ||
38 | .nowrap { | 32 | .nowrap { |
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 91d193c..a61fe4a 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue | |||
@@ -18,7 +18,7 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="flex-column"> | 21 | <div class="flex-column sidebar"> |
22 | <ld-tag-input /> | 22 | <ld-tag-input /> |
23 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> | 23 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> |
24 | <ld-proposition class="scrollbar no-scroll-x" /> | 24 | <ld-proposition class="scrollbar no-scroll-x" /> |
@@ -33,4 +33,9 @@ export default class PanelLeft extends Vue {} | |||
33 | </script> | 33 | </script> |
34 | 34 | ||
35 | <style lang="scss"> | 35 | <style lang="scss"> |
36 | .sidebar { | ||
37 | .title { | ||
38 | margin: 0.2em 0.5em !important; | ||
39 | } | ||
40 | } | ||
36 | </style> | 41 | </style> |