mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: fix rtl for sidebar toggle btn
This commit is contained in:
parent
fe68edd94d
commit
108248e8fc
@ -4,7 +4,7 @@
|
||||
class="
|
||||
fixed
|
||||
top-0
|
||||
left-0
|
||||
start-0
|
||||
w-screen
|
||||
h-screen
|
||||
z-20
|
||||
|
@ -36,15 +36,16 @@
|
||||
class="
|
||||
absolute
|
||||
bottom-0
|
||||
left-0
|
||||
start-0
|
||||
text-gray-600
|
||||
bg-gray-100
|
||||
rounded
|
||||
rtl-rotate-180
|
||||
p-1
|
||||
m-4
|
||||
opacity-0
|
||||
hover:opacity-100 hover:shadow-md
|
||||
"
|
||||
|
||||
@click="sidebar = !sidebar"
|
||||
>
|
||||
<feather-icon name="chevrons-right" class="w-4 h-4" />
|
||||
@ -76,6 +77,11 @@ export default {
|
||||
transform: translateX(calc(-1 * var(--w-sidebar)));
|
||||
width: 0px;
|
||||
}
|
||||
[dir='rtl'] .sidebar-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateX(calc(1 * var(--w-sidebar)));
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.sidebar-enter-to,
|
||||
.sidebar-leave-from {
|
||||
|
Loading…
Reference in New Issue
Block a user