feat(rtl): mirror task description icon

This commit is contained in:
kolaente 2025-08-02 11:43:42 +02:00
parent 0c5c385a86
commit 0e1a253eb8
2 changed files with 9 additions and 2 deletions

View File

@ -106,11 +106,11 @@
v-if="task.attachments.length > 0"
class="project-task-icon"
>
<Icon icon="paperclip" />
<Icon icon="paperclip"/>
</span>
<span
v-if="!isEditorContentEmpty(task.description)"
class="project-task-icon"
class="project-task-icon is-mirrored-rtl"
>
<Icon icon="align-left" />
</span>

View File

@ -38,3 +38,10 @@ $types: (
.has-text-end {
text-align: end;
}
[dir="rtl"] .is-mirrored-rtl {
&,
> svg {
transform: scaleX(-1);
}
}