diff --git a/packages/primevue/src/drawer/style/DrawerStyle.js b/packages/primevue/src/drawer/style/DrawerStyle.js index 2e16db616..499e5e890 100644 --- a/packages/primevue/src/drawer/style/DrawerStyle.js +++ b/packages/primevue/src/drawer/style/DrawerStyle.js @@ -29,7 +29,7 @@ const theme = ({ dt }) => ` } .p-drawer-footer { - padding: ${dt('drawer.header.padding')}; + padding: ${dt('drawer.footer.padding')}; } .p-drawer-title { diff --git a/packages/themes/src/presets/aura/drawer/index.js b/packages/themes/src/presets/aura/drawer/index.js index 65ac70d7a..60334e180 100644 --- a/packages/themes/src/presets/aura/drawer/index.js +++ b/packages/themes/src/presets/aura/drawer/index.js @@ -14,5 +14,8 @@ export default { }, content: { padding: '0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}' + }, + footer: { + padding: '{overlay.modal.padding}' } }; diff --git a/packages/themes/src/presets/lara/drawer/index.js b/packages/themes/src/presets/lara/drawer/index.js index 65ac70d7a..60334e180 100644 --- a/packages/themes/src/presets/lara/drawer/index.js +++ b/packages/themes/src/presets/lara/drawer/index.js @@ -14,5 +14,8 @@ export default { }, content: { padding: '0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}' + }, + footer: { + padding: '{overlay.modal.padding}' } }; diff --git a/packages/themes/src/presets/material/drawer/index.js b/packages/themes/src/presets/material/drawer/index.js index 65ac70d7a..60334e180 100644 --- a/packages/themes/src/presets/material/drawer/index.js +++ b/packages/themes/src/presets/material/drawer/index.js @@ -14,5 +14,8 @@ export default { }, content: { padding: '0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}' + }, + footer: { + padding: '{overlay.modal.padding}' } }; diff --git a/packages/themes/src/presets/nora/drawer/index.js b/packages/themes/src/presets/nora/drawer/index.js index 86bf56978..fc5c33325 100644 --- a/packages/themes/src/presets/nora/drawer/index.js +++ b/packages/themes/src/presets/nora/drawer/index.js @@ -14,5 +14,8 @@ export default { }, content: { padding: '0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}' + }, + footer: { + padding: '{overlay.modal.padding}' } };