Fixed border overflow

This commit is contained in:
Cagatay Civici 2024-05-12 00:46:26 +03:00
parent c207339127
commit 4909f130a3
3 changed files with 9 additions and 16 deletions

View file

@ -6,9 +6,6 @@ const theme = ({ dt }) => `
border-radius: ${dt('panel.border.radius')};
background: ${dt('panel.background')};
color: ${dt('panel.color')};
display: flex;
flex-direction: column;
gap: ${dt('panel.gap')};
}
.p-panel-header {
@ -21,6 +18,7 @@ const theme = ({ dt }) => `
border-style: solid;
border-width: ${dt('panel.header.border.width')};
border-color: ${dt('panel.header.border.color')};
border-radius: ${dt('panel.header.border.radius')};
}
.p-panel-toggleable .p-panel-header {
@ -39,10 +37,6 @@ const theme = ({ dt }) => `
.p-panel-footer {
padding: ${dt('panel.footer.padding')};
}
.p-panel-header + .p-panel-content-container > .p-panel-content {
padding-top: 0;
}
`;
const classes = {