Skip to content

Commit 0f9a50e

Browse files
committed
fix(sidebar): responsive mobile support
1 parent 64a524f commit 0f9a50e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/[...slug].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const closeSidebar = () => {
8585
content.value = null;
8686
document.body.classList.remove('overflow-hidden')
8787
}
88-
const sidebarClass = computed(() => showSidebar.value ? 'right-0 w-2/4' : 'w-screen')
88+
const sidebarClass = computed(() => showSidebar.value ? 'right-0 w-screen lg:w-2/4' : 'w-screen')
8989
9090
function changeStatus(val) {
9191
if (val == status.value) return

0 commit comments

Comments
 (0)