Refactor #6681 - For Drawer
parent
d00b7599cc
commit
2c4a9f52d7
|
@ -81,25 +81,25 @@ const theme = ({ dt }) => `
|
||||||
.p-drawer-left .p-drawer {
|
.p-drawer-left .p-drawer {
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-right-width: 1px;
|
border-inline-end-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-drawer-right .p-drawer {
|
.p-drawer-right .p-drawer {
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-left-width: 1px;
|
border-inline-start-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-drawer-top .p-drawer {
|
.p-drawer-top .p-drawer {
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom-width: 1px;
|
border-block-end-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-drawer-bottom .p-drawer {
|
.p-drawer-bottom .p-drawer {
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-top-width: 1px;
|
border-block-start-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-drawer-left .p-drawer-content,
|
.p-drawer-left .p-drawer-content,
|
||||||
|
@ -113,6 +113,10 @@ const theme = ({ dt }) => `
|
||||||
.p-drawer-open {
|
.p-drawer-open {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p-overlay-mask:dir(rtl) {
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const inlineStyles = {
|
const inlineStyles = {
|
||||||
|
|
Loading…
Reference in New Issue