From bb69f2f40bf2ddc236bfafd0975e7e12b56e1d50 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 1 Nov 2024 13:59:13 +0300 Subject: [PATCH] Fixed #6707 --- packages/primevue/src/stepper/style/StepperStyle.js | 1 + packages/themes/src/presets/aura/stepper/index.js | 3 ++- packages/themes/src/presets/lara/stepper/index.js | 3 ++- packages/themes/src/presets/material/stepper/index.js | 3 ++- packages/themes/src/presets/nora/stepper/index.js | 3 ++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/stepper/style/StepperStyle.js b/packages/primevue/src/stepper/style/StepperStyle.js index c6ac47431..473a66c67 100644 --- a/packages/primevue/src/stepper/style/StepperStyle.js +++ b/packages/primevue/src/stepper/style/StepperStyle.js @@ -154,6 +154,7 @@ const theme = ({ dt }) => ` .p-stepitem .p-steppanel-content { width: 100%; padding: ${dt('stepper.steppanel.padding')}; + margin-inline-start: 1rem; } .p-stepitem .p-steppanel { diff --git a/packages/themes/src/presets/aura/stepper/index.js b/packages/themes/src/presets/aura/stepper/index.js index 43f8bc2ba..d058b0a98 100644 --- a/packages/themes/src/presets/aura/stepper/index.js +++ b/packages/themes/src/presets/aura/stepper/index.js @@ -48,6 +48,7 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem' + padding: '0', + indent: '1rem' } }; diff --git a/packages/themes/src/presets/lara/stepper/index.js b/packages/themes/src/presets/lara/stepper/index.js index 1ed5c68bc..d3c9ac6c0 100644 --- a/packages/themes/src/presets/lara/stepper/index.js +++ b/packages/themes/src/presets/lara/stepper/index.js @@ -48,6 +48,7 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem' + padding: '0', + indent: '1rem' } }; diff --git a/packages/themes/src/presets/material/stepper/index.js b/packages/themes/src/presets/material/stepper/index.js index f9a1f9eb8..4f3b61df8 100644 --- a/packages/themes/src/presets/material/stepper/index.js +++ b/packages/themes/src/presets/material/stepper/index.js @@ -45,7 +45,8 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem' + padding: '0', + indent: '1rem' }, colorScheme: { light: { diff --git a/packages/themes/src/presets/nora/stepper/index.js b/packages/themes/src/presets/nora/stepper/index.js index fa7a284d6..7895acd3d 100644 --- a/packages/themes/src/presets/nora/stepper/index.js +++ b/packages/themes/src/presets/nora/stepper/index.js @@ -48,6 +48,7 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem' + padding: '0', + indent: '1rem' } };