diff --git a/packages/mirinae/src/layouts/vertical-layout/PVerticalLayout.vue b/packages/mirinae/src/layouts/vertical-layout/PVerticalLayout.vue index b1aec14be0..c831844c26 100644 --- a/packages/mirinae/src/layouts/vertical-layout/PVerticalLayout.vue +++ b/packages/mirinae/src/layouts/vertical-layout/PVerticalLayout.vue @@ -60,7 +60,11 @@ const state = reactive({ })), resizerStyle: computed(() => ({ left: `${state.width}px`, - 'border-left-width': state.hide ? 0 : '1px', + width: 'fit-content', + })), + resizerLineStyle: computed(() => ({ + // eslint-disable-next-line no-nested-ternary + width: state.hide ? 0 : state.isHover ? '2px' : '1px', })), mainStyle: computed(() => ({ width: state.isMobileSize ? '100%' : `calc( 100% - ${state.width}px )`, @@ -167,7 +171,6 @@ documentEventMount('resize', detectWindowResizing); onBeforeMount(() => { detectWindowResizing(); }); -