글쓰기 스크롤과 블록 드롭 피드백 보정
This commit is contained in:
@@ -17,7 +17,10 @@ const logoutAdmin = async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="admin-layout min-h-screen bg-[#f5f5f2] text-ink">
|
||||
<div
|
||||
class="admin-layout bg-[#f5f5f2] text-ink"
|
||||
:class="isPostEditorRoute ? 'h-screen overflow-hidden bg-white' : 'min-h-screen'"
|
||||
>
|
||||
<aside
|
||||
v-if="!isPostEditorRoute"
|
||||
class="admin-layout__sidebar fixed inset-y-0 left-0 hidden w-64 border-r border-line bg-[#15171a] p-5 text-white lg:block"
|
||||
@@ -50,8 +53,11 @@ const logoutAdmin = async () => {
|
||||
</nav>
|
||||
</aside>
|
||||
<main
|
||||
class="admin-layout__main min-h-screen"
|
||||
:class="{ 'lg:ml-64': !isPostEditorRoute }"
|
||||
class="admin-layout__main"
|
||||
:class="[
|
||||
isPostEditorRoute ? 'h-screen overflow-hidden' : 'min-h-screen',
|
||||
{ 'lg:ml-64': !isPostEditorRoute }
|
||||
]"
|
||||
>
|
||||
<slot />
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user