improve sidebar

This commit is contained in:
Gregor Vostrak
2024-05-31 03:02:18 +02:00
parent c9311780ed
commit a64ee87d19
3 changed files with 5 additions and 5 deletions

View File

@@ -55,14 +55,12 @@ const page = usePage<{
</script>
<template>
<div
v-bind="$attrs"
class="flex flex-wrap bg-default-background text-muted">
<div v-bind="$attrs" class="flex flex-wrap bg-background text-muted">
<div
:class="{
'!flex bg-default-background w-full z-50': showSidebarMenu,
}"
class="flex-shrink-0 h-screen hidden fixed w-[230px] 2xl:w-[270px] px-2.5 2xl:px-4 py-4 sm:flex flex-col justify-between">
class="flex-shrink-0 h-screen hidden fixed w-[230px] 2xl:w-[250px] px-2.5 2xl:px-4 py-4 sm:flex flex-col justify-between">
<div>
<div
class="border-b border-default-background-separator pb-2 flex justify-between">
@@ -183,7 +181,7 @@ const page = usePage<{
<UserSettingsIcon></UserSettingsIcon>
</ul>
</div>
<div class="flex-1 sm:ml-[230px] 2xl:ml-[270px]">
<div class="flex-1 sm:ml-[230px] 2xl:ml-[250px]">
<div
class="sm:hidden w-full px-3 py-1 border-b border-b-default-background-separator text-muted flex justify-between items-center">
<Bars3Icon