Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Fix global audio rtl close placement #780

Merged
merged 1 commit into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/VAudioTrack/layouts/VRowLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:class="isLarge ? 'w-30 me-6' : 'w-20 me-4'"
>
<VAudioThumbnail :audio="audio" />
<div v-if="isSmall" class="absolute bottom-0 end-0">
<div v-if="isSmall" class="absolute bottom-0 rtl:left-0 ltr:right-0">
<slot name="play-pause" size="tiny" />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<VGlobalAudioTrack v-if="audio" layout="global" :audio="audio" />
<VIconButton
v-if="audio"
class="absolute top-0 end-0 border-none z-10"
class="absolute top-0 rtl:left-0 ltr:right-0 border-none z-10"
:icon-props="{ iconPath: icons.closeIcon }"
@click="handleClose"
/>
Expand Down