Refactor #6681 - For Dialog
parent
55b67efb77
commit
1876b4b64b
|
@ -42,6 +42,7 @@ const theme = ({ dt }) => `
|
|||
align-items: center;
|
||||
gap: ${dt('dialog.header.gap')};
|
||||
}
|
||||
|
||||
.p-dialog-enter-active {
|
||||
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
@ -115,6 +116,24 @@ const theme = ({ dt }) => `
|
|||
transform: translate3d(100%, 0px, 0px);
|
||||
}
|
||||
|
||||
.p-dialog-left:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-left:dir(rtl) .p-dialog-leave-to,
|
||||
.p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
|
||||
.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
|
||||
transform: translate3d(100%, 0px, 0px);
|
||||
}
|
||||
|
||||
.p-dialog-right:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-right:dir(rtl) .p-dialog-leave-to,
|
||||
.p-dialog-topright:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-topright:dir(rtl) .p-dialog-leave-to,
|
||||
.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
|
||||
.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
|
||||
transform: translate3d(-100%, 0px, 0px);
|
||||
}
|
||||
|
||||
.p-dialog-maximized {
|
||||
width: 100vw !important;
|
||||
height: 100vh !important;
|
||||
|
|
Loading…
Reference in New Issue