2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
This commit is contained in:
Jordan Andreux 2023-01-22 20:39:48 +01:00
commit 9f6799eed9
2 changed files with 9 additions and 3 deletions

View File

@ -4,7 +4,7 @@
class="
fixed
top-0
left-0
start-0
w-screen
h-screen
z-20

View File

@ -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 {