From a9ac0ecbdf8b636cb834098a93e60b2e3d7be569 Mon Sep 17 00:00:00 2001 From: Renon <renon@disroot.org> Date: Thu, 13 Sep 2018 15:47:48 +0200 Subject: [PATCH] set width default for card and center play button --- changes/changelog.d/530.bugfix | 1 + front/src/components/audio/album/Widget.vue | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 changes/changelog.d/530.bugfix diff --git a/changes/changelog.d/530.bugfix b/changes/changelog.d/530.bugfix new file mode 100644 index 00000000..ccde1554 --- /dev/null +++ b/changes/changelog.d/530.bugfix @@ -0,0 +1 @@ +Set sane width default for ui cards and center play button (#530) diff --git a/front/src/components/audio/album/Widget.vue b/front/src/components/audio/album/Widget.vue index 1248348c..73bf0d22 100644 --- a/front/src/components/audio/album/Widget.vue +++ b/front/src/components/audio/album/Widget.vue @@ -120,9 +120,9 @@ export default { width: 100%; } .ui.cards { - justify-content: center; + justify-content: flex-start; } -.ui.cards > .card { +.ui.five.cards > .card { width: 15em; } .with-overlay { @@ -135,3 +135,8 @@ export default { align-items: center !important; } </style> +<style> +.ui.cards .ui.button { + margin-right: 0px; +} +</style> -- GitLab