mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-11 21:42:09 +08:00
fix: 弹窗组件拖拽后全屏位置异常
This commit is contained in:
@@ -246,7 +246,8 @@ function handleClosed() {
|
|||||||
{
|
{
|
||||||
'border border-border': bordered,
|
'border border-border': bordered,
|
||||||
'shadow-3xl': !bordered,
|
'shadow-3xl': !bordered,
|
||||||
'top-0 left-0 size-full max-h-full translate-0!': shouldFullscreen,
|
'top-0 left-0 size-full max-h-full transform-[translate(0,0)]!':
|
||||||
|
shouldFullscreen,
|
||||||
'top-1/2': centered && !shouldFullscreen,
|
'top-1/2': centered && !shouldFullscreen,
|
||||||
'duration-300': !dragging,
|
'duration-300': !dragging,
|
||||||
hidden: isClosed,
|
hidden: isClosed,
|
||||||
|
|||||||
Reference in New Issue
Block a user