From c64e852f183f4e78ce34273d823249e44005d786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 18 Jun 2020 16:59:57 +0200 Subject: [PATCH 1/2] Reduce label padding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/cards/CardItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index 3114f7455..a6f7d46c3 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -229,7 +229,7 @@ export default { display: flex; flex-direction: row; overflow: hidden; - padding: 3px 7px; + padding: 0px 5px; border-radius: 15px; font-size: 85%; margin-right: 3px; From bedef5e40836dce984bf6d1698e2dd7b80a21635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 18 Jun 2020 17:33:52 +0200 Subject: [PATCH 2/2] Fix label styling in sidebars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/board/TagsTabSidebar.vue | 76 +++++++++++++++---------- src/components/card/CardSidebar.vue | 4 +- 2 files changed, 48 insertions(+), 32 deletions(-) diff --git a/src/components/board/TagsTabSidebar.vue b/src/components/board/TagsTabSidebar.vue index 770724ab0..a2f61eb86 100644 --- a/src/components/board/TagsTabSidebar.vue +++ b/src/components/board/TagsTabSidebar.vue @@ -14,24 +14,30 @@ type="submit" value="" class="icon-confirm"> - + + + {{ t('deck', 'Cancel') }} + + @@ -48,10 +54,11 @@ type="submit" value="" class="icon-confirm"> - + + + {{ t('deck', 'Cancel') }} + + @@ -66,12 +73,14 @@ import { mapGetters } from 'vuex' import Color from '../../mixins/color' -import { ColorPicker } from '@nextcloud/vue' +import { ColorPicker, Actions, ActionButton } from '@nextcloud/vue' export default { name: 'TagsTabSidebar', components: { ColorPicker, + Actions, + ActionButton, }, mixins: [Color], data() { @@ -149,7 +158,7 @@ export default { } diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 32b74b5cc..82486f6ac 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -588,8 +588,8 @@ export default { flex-grow: 0; flex-shrink: 1; overflow: hidden; - padding: 1px 3px; - border-radius: 3px; + padding: 0px 5px; + border-radius: 15px; font-size: 85%; margin-right: 3px; }