Skip to content

Commit 85fafca

Browse files
committed
Fix: 主题横向拖拽切换页面未隐藏
1 parent 9eb07dd commit 85fafca

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package/components/NanoBody/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<!--draggable line-->
66
<div
77
ref="leftDraggableLine"
8-
class="absolute z-2 right--1 top-0 h-full w-1 bg-transparent cursor-col-resize"
8+
class="absolute z-2 right--1 top-0 h-full w-2 bg-transparent cursor-col-resize"
99
/>
1010
</NanoLeftSidebar>
1111
<NanoMain ref="main"/>
1212
<NanoRightSidebar v-if="!ctl.hideRightSidebar" ref="rightSidebar">
1313
<!--draggable line-->
1414
<div
1515
ref="rightDraggableLine"
16-
class="absolute z-2 left--1 top-0 h-full w-1 bg-transparent cursor-col-resize"
16+
class="absolute z-2 left--1 top-0 h-full w-2 bg-transparent cursor-col-resize"
1717
/>
1818
</NanoRightSidebar>
1919
<NanoRightActionBar v-if="!ctl.hideRightActionBar" ref="rightActionBar"/>

package/components/NanoLeftSidebar/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div
33
class="relative shrink-0 h-full w-[var(--sidebar-left-size)]"
4-
:class="{ 'w-0': !openStatus }"
4+
:class="{ 'w-0!': !openStatus }"
55
un-border="r-solid r-1px r-[var(--sidebar-border-color)]"
66
un-flex="~ col"
77
style="background: var(--sidebar-bg)"

package/components/NanoRightSidebar/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div
33
class="relative shrink-0 h-full w-[var(--sidebar-right-size)]"
4-
:class="{ 'w-0': !openStatus }"
4+
:class="{ 'w-0!': !openStatus }"
55
un-border="l-solid l-1px l-[var(--sidebar-border-color)]"
66
style="background: var(--sidebar-bg)"
77
>

0 commit comments

Comments
 (0)