improve sidebar mobile

This commit is contained in:
2023-05-23 23:01:02 +02:00
parent eb02ab7648
commit d6480a7a37
3 changed files with 53 additions and 44 deletions

View File

@@ -28,7 +28,7 @@ const setViewMode = (viewMode: ViewMode) => {
<template>
<div
id="sidebar"
class="fixed bottom-0 top-0 flex w-sidebar flex-col gap-4 overflow-y-auto px-2 py-3 text-[90%] max-sm:text-[120%]"
class="fixed bottom-0 top-0 flex max-sm:w-sidebar-mobile sm:w-sidebar flex-col gap-4 overflow-y-auto px-2 py-3 text-[90%] max-sm:text-[120%]"
>
<SideBarMenu>
<template #header>Root note</template>