릴리스: v1.2.12 에디터 우측 패널 토글 연결

This commit is contained in:
2026-03-30 16:49:37 +09:00
parent d36502fe51
commit 26a77bd3e1
6 changed files with 46 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import { computed, onMounted, onUnmounted, ref, watch } from 'vue'
import { computed, onMounted, onUnmounted, provide, ref, watch } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { useAuthStore } from './stores/auth'
import { toApiUrl } from './lib/runtime'
@@ -16,6 +16,7 @@ const { toasts, dismissToast } = useToast()
const menuOpen = ref(false)
const rightRailOpen = ref(true)
provide('rightRailOpen', rightRailOpen)
const isAdmin = computed(() => !!auth.user?.isAdmin)
const isPreviewMode = computed(() => route.query.preview === '1')
@@ -367,6 +368,10 @@ async function logout() {
grid-template-columns: 248px minmax(0, 1fr);
}
.appShell--localRail.appShell--rightClosed {
grid-template-columns: 248px minmax(0, 1fr);
}
.leftRail,
.rightRail {
min-height: 100vh;
@@ -888,6 +893,10 @@ async function logout() {
grid-template-columns: 220px minmax(0, 1fr);
}
.appShell--localRail.appShell--rightClosed {
grid-template-columns: 220px minmax(0, 1fr);
}
.rightRail {
display: none;
}