Skip to content

Commit

Permalink
pkp/pkp-lib#10598 Improve rtl compatibility, replacing space-x wit gap-x
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Jan 9, 2025
1 parent 55bdd6e commit 4fe6ad4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/managers/FileManager/FileManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</p>
</template>
<template #top-controls>
<div class="flex space-x-2">
<div class="flex gap-x-2">
<PkpButton
v-for="action in fileManagerStore.topActions"
:key="action.name"
Expand Down
2 changes: 1 addition & 1 deletion src/managers/GalleyManager/GalleyManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</TableRow>
</TableBody>
<template v-if="galleyManagerStore.bottomActions.length" #bottom-controls>
<div class="space-x-y flex">
<div class="flex gap-x-2">
<component
:is="Components[action.component] || action.component"
v-bind="action.props || {}"
Expand Down
4 changes: 2 additions & 2 deletions src/managers/ReviewerManager/ReviewerManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</h3>
</template>
<template #top-controls>
<div class="flex space-x-2">
<div class="flex gap-x-2">
<PkpButton
v-for="action in reviewerStore.topActions"
:key="action.name"
Expand Down Expand Up @@ -47,7 +47,7 @@
:redacted-for-authors="redactedForAuthors"
></ReviewerManagerCellStatus>
<TableCell>
<span class="flex items-center space-x-2">
<span class="flex items-center gap-x-2">
<Icon
v-for="icon in reviewerStore.getReviewMethodIcons(
reviewAssignment,
Expand Down
4 changes: 2 additions & 2 deletions src/managers/UserInvitationManager/UserInvitationManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</h3>
</template>
<template #top-controls>
<div class="flex space-x-2">
<div class="flex gap-x-2">
<PkpButton @click="store.createNewInvitation">
{{ t('invitation.inviteToRole.btn') }}
</PkpButton>
Expand All @@ -27,7 +27,7 @@
<TableBody>
<TableRow v-for="(invitation, index) in store.invitations" :key="index">
<TableCell>
<span class="space-x-1">
<span class="gap-x-1">
<span class="align-middle text-lg-normal">
{{
invitation.userId
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex items-center space-x-2">
<div class="flex items-center gap-x-2">
<div v-if="alert">{{ alert }}</div>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex items-center space-x-2">
<div class="flex items-center gap-x-2">
<div v-if="alert">{{ alert }}</div>
<PkpButton
v-if="actionName"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div v-if="reviewAssignments.length">
<span class="space-x-1">
<span class="flex gap-x-1">
<CellSubmissionActivityReviewsItem
v-for="reviewAssignment in reviewAssignments"
:key="reviewAssignment.id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<div class="flex items-center justify-between">
<span class="text-lg-bold">{{ reviewerName }}</span>
<span class="space-x-2">
<span class="flex gap-x-2">
<Icon
v-for="icon in reviewMethodIcons"
:key="icon"
Expand Down

0 comments on commit 4fe6ad4

Please sign in to comment.