From efc82a80fff5f3a42c84e7c7d9f12dd309429e22 Mon Sep 17 00:00:00 2001 From: Kylart Date: Tue, 13 Oct 2020 21:25:10 +0200 Subject: [PATCH] Fixed layout for watch list cards --- src/renderer/components/localLists/card.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/localLists/card.vue b/src/renderer/components/localLists/card.vue index 66ed812..fac73f0 100644 --- a/src/renderer/components/localLists/card.vue +++ b/src/renderer/components/localLists/card.vue @@ -35,13 +35,14 @@ v-container.py-0.actions v-row(justify='space-around') template(v-for='action in actions') - v-col + v-col(:cols="actions.length === 2 ? '6' : '4'") v-btn( small, :icon='!!action.icon', @click.stop='action.cb', v-show='action.show' - ) {{ action.text }} + ) + span {{ action.text }} template(v-show='action.icon') v-icon {{ action.icon }} @@ -223,7 +224,7 @@ export default { white-space nowrap .menu - padding 8px 0 + padding 8px 0 14px min-width 7% display flex