2
0
mirror of https://github.com/frappe/books.git synced 2024-09-19 19:19:02 +00:00

fix rtl in padding

This commit is contained in:
zaqoutabed 2023-01-07 15:40:16 +03:00
parent 47198e3690
commit 199c2ad1fa
9 changed files with 11 additions and 11 deletions

View File

@ -29,7 +29,7 @@
<!-- Render target for toasts -->
<div
id="toast-container"
class="absolute bottom-0 flex flex-col items-end mb-3 pr-6"
class="absolute bottom-0 flex flex-col items-end mb-3 pe-6"
style="width: 100%"
>
<div id="toast-target" />

View File

@ -23,7 +23,7 @@
<button
v-if="!isReadOnly"
class="p-0.5 rounded -mr-1 ms-1"
class="p-0.5 rounded -me-1 ms-1"
:class="showMandatory ? 'bg-red-300' : 'bg-gray-300'"
@click="togglePopover"
>

View File

@ -26,7 +26,7 @@
</div>
<button
class="bg-green100 px-2 ms-1 -mr-0.5 h-full border-l"
class="bg-green100 px-2 ms-1 -me-0.5 h-full border-l"
@click="swap"
v-if="!disabled"
>

View File

@ -13,7 +13,7 @@
<div
class="items-center flex px-2 h-row-mid"
:class="{
'ml-auto': isNumeric(df),
'ms-auto': isNumeric(df),
}"
v-for="df in tableFields"
:key="df.fieldname"

View File

@ -18,7 +18,7 @@
<span class="hidden" :class="{ 'group-hover:inline-block': !readOnly }">
<feather-icon
name="x"
class="w-4 h-4 -ml-1 cursor-pointer"
class="w-4 h-4 -ms-1 cursor-pointer"
:button="true"
@click="$emit('remove')"
/>

View File

@ -41,7 +41,7 @@
:size="group.iconSize || '18'"
:height="group.iconHeight"
:active="isGroupActive(group)"
:class="isGroupActive(group) && !group.items ? '-ml-1' : ''"
:class="isGroupActive(group) && !group.items ? '-ms-1' : ''"
/>
<div
class="ms-2 text-lg text-gray-900"

View File

@ -71,7 +71,7 @@
class="py-2 pe-4"
@click="activateInlineEditing(df)"
:class="{
'pl-2': df.fieldtype === 'AttachImage',
'ps-2': df.fieldtype === 'AttachImage',
}"
>
<FormControl

View File

@ -97,7 +97,7 @@
<div
class="text-sm text-gray-600 flex justify-between overflow-x-auto"
>
<p class="whitespace-nowrap mr-2">
<p class="whitespace-nowrap me-2">
{{ formatDate(file.modified) }}
</p>
<p class="text-right" v-if="fyo.store.isDevelopment">

View File

@ -7,7 +7,7 @@
paddingRight: dataSlice.length > 13 ? 'var(--w-scrollbar)' : '',
}"
>
<p class="w-8 text-right mr-4 text-gray-700">#</p>
<p class="w-8 text-right me-4 text-gray-700">#</p>
<Row
class="flex-1 text-gray-700 border-none h-row-mid"
:columnCount="columns.length"
@ -40,7 +40,7 @@
<div v-for="(doc, i) in dataSlice" :key="doc.name">
<!-- Row Content -->
<div class="flex hover:bg-gray-50 items-center">
<p class="w-8 text-right mr-4 text-gray-900">
<p class="w-8 text-right me-4 text-gray-900">
{{ i + pageStart + 1 }}
</p>
<Row