From e7400fe1e566bf52cb8a305c5b867056f495cac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 26 Apr 2019 16:15:41 +0200 Subject: [PATCH] Fix styling of label sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/board/TagsTabSidebard.vue | 82 +++++++++++++++++++----- 1 file changed, 65 insertions(+), 17 deletions(-) diff --git a/src/components/board/TagsTabSidebard.vue b/src/components/board/TagsTabSidebard.vue index f5d0891ee..6b79db502 100644 --- a/src/components/board/TagsTabSidebard.vue +++ b/src/components/board/TagsTabSidebard.vue @@ -1,34 +1,42 @@ @@ -38,10 +46,12 @@ import { mapGetters } from 'vuex' import Color from '../../mixins/color' import { Compact } from 'vue-color' +import ColorPicker from '../ColorPicker' export default { name: 'TagsTabSidebard', components: { + ColorPicker, 'compact-picker': Compact }, mixins: [Color], @@ -103,7 +113,7 @@ export default { this.editingLabelId = null }, clickShowAddLabel() { - this.addLabelObj = { cardId: null, color: '000', title: '' } + this.addLabelObj = { cardId: null, color: '000000', title: '' } this.addLabel = true }, clickAddLabel() { @@ -114,3 +124,41 @@ export default { } } +