From 3044a88dbcfc21bf170fc68f1a6f618ce10d338b Mon Sep 17 00:00:00 2001 From: upsiflu Date: Sat, 22 Mar 2025 15:16:15 +0100 Subject: [PATCH] fix(ui): use `start` and `end` for text alignments to respect writing direction https://csslayout.news/whats-the-difference-between-the-alignment-values-of-start-flex-start-and-self-start/ --- front/src/components/album/Card.vue | 2 +- front/src/components/ui/Section.vue | 4 ++-- front/src/ui/components/Sidebar.vue | 16 ++++++++-------- front/ui-docs/components/ui/card.md | 8 ++++---- front/ui-docs/using-alignment.md | 8 ++++---- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/front/src/components/album/Card.vue b/front/src/components/album/Card.vue index 425ebd16e..66ea2ab47 100644 --- a/front/src/components/album/Card.vue +++ b/front/src/components/album/Card.vue @@ -56,7 +56,7 @@ const imageUrl = computed(() => props.album.cover?.urls.original :key="ac.artist.id" > {{ ac.credit ?? t('components.Queue.meta.unknownArtist') }} diff --git a/front/src/components/ui/Section.vue b/front/src/components/ui/Section.vue index ecbef260c..d20ffa253 100644 --- a/front/src/components/ui/Section.vue +++ b/front/src/components/ui/Section.vue @@ -63,7 +63,7 @@ const headerGrid