Skip to content

Commit defc605

Browse files
committed
fix: baseWidgetLayout style bug
1 parent 8605d28 commit defc605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/custom/widget/layout/BaseWidgetLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="base-widget-layout rounded-2xl overflow-hidden relative bg-neutral-50 dark-theme:bg-zinc-800"
3+
class="base-widget-layout rounded-2xl overflow-hidden relative bg-zinc-50 dark-theme:bg-zinc-800"
44
>
55
<IconButton
66
v-show="!isRightPanelOpen && hasRightPanel"
@@ -49,7 +49,7 @@
4949
<div
5050
class="flex justify-end gap-2 w-0"
5151
:class="
52-
isRightPanelOpen && hasRightPanel ? 'min-w-8' : 'min-w-18'
52+
hasRightPanel && !isRightPanelOpen ? 'min-w-18' : 'min-w-8'
5353
"
5454
>
5555
<IconButton

0 commit comments

Comments
 (0)