fix(frontend): fix buttons alignments in rtl direction

This commit is contained in:
Milad Nazari 2026-06-03 13:33:41 +03:30 committed by kolaente
parent adc8070ff9
commit 1cf10b563a
4 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,7 @@
v-if="editEnabled && Object.keys(relatedTasks).length > 0"
id="showRelatedTasksFormButton"
v-tooltip="$t('task.relation.add')"
class="is-pulled-right add-task-relation-button d-print-none"
class="is-pulled-end add-task-relation-button d-print-none"
:class="{'is-active': showNewRelationForm}"
variant="secondary"
icon="plus"

View File

@ -4,6 +4,10 @@
}
}
.is-pulled-right {
.is-pulled-end {
float: right !important;
}
[dir="rtl"] .is-pulled-end {
float: left !important;
}

View File

@ -5,7 +5,7 @@
>
<XButton
:to="{name:'labels.create'}"
class="is-pulled-right"
class="is-pulled-end"
icon="plus"
>
{{ $t('label.create.header') }}

View File

@ -5,7 +5,7 @@
>
<XButton
:to="{name:'teams.create'}"
class="is-pulled-right"
class="is-pulled-end"
icon="plus"
>
{{ $t('team.create.title') }}