diff --git a/packages/primevue/src/stepper/style/StepperStyle.js b/packages/primevue/src/stepper/style/StepperStyle.js index 209bd0c00..cc01af960 100644 --- a/packages/primevue/src/stepper/style/StepperStyle.js +++ b/packages/primevue/src/stepper/style/StepperStyle.js @@ -179,7 +179,7 @@ const theme = ({ dt }) => ` } .p-stepitem:last-of-type .p-steppanel { - padding: ${dt('stepper.steppanel.last.padding')}; + padding-inline-start: ${dt('stepper.step.number.size')}; } `; diff --git a/packages/themes/src/presets/aura/stepper/index.js b/packages/themes/src/presets/aura/stepper/index.js index c8af64c00..43f8bc2ba 100644 --- a/packages/themes/src/presets/aura/stepper/index.js +++ b/packages/themes/src/presets/aura/stepper/index.js @@ -48,9 +48,6 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem', - last: { - padding: '0 0 0 1.625rem' - } + padding: '0 0 0 1rem' } }; diff --git a/packages/themes/src/presets/lara/stepper/index.js b/packages/themes/src/presets/lara/stepper/index.js index 7f5adf697..1ed5c68bc 100644 --- a/packages/themes/src/presets/lara/stepper/index.js +++ b/packages/themes/src/presets/lara/stepper/index.js @@ -48,9 +48,6 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem', - last: { - padding: '0 0 0 1.625rem' - } + padding: '0 0 0 1rem' } }; diff --git a/packages/themes/src/presets/nora/stepper/index.js b/packages/themes/src/presets/nora/stepper/index.js index bfcffb021..fa7a284d6 100644 --- a/packages/themes/src/presets/nora/stepper/index.js +++ b/packages/themes/src/presets/nora/stepper/index.js @@ -48,9 +48,6 @@ export default { steppanel: { background: '{content.background}', color: '{content.color}', - padding: '0 0 0 1rem', - last: { - padding: '0 0 0 1.625rem' - } + padding: '0 0 0 1rem' } }; diff --git a/packages/themes/types/stepper/index.d.ts b/packages/themes/types/stepper/index.d.ts index 0bf63908a..fb2df2053 100644 --- a/packages/themes/types/stepper/index.d.ts +++ b/packages/themes/types/stepper/index.d.ts @@ -253,16 +253,5 @@ export interface StepperDesignTokens extends ColorSchemeDesignToken