From ccb053e835d37583041d2443da3041b918a4bf04 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 24 Oct 2024 17:29:13 +0300 Subject: [PATCH] Refactor #6636 - For Textarea --- packages/primevue/src/textarea/style/TextareaStyle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/primevue/src/textarea/style/TextareaStyle.js b/packages/primevue/src/textarea/style/TextareaStyle.js index 5ebc12079..8309fc1ae 100644 --- a/packages/primevue/src/textarea/style/TextareaStyle.js +++ b/packages/primevue/src/textarea/style/TextareaStyle.js @@ -7,7 +7,8 @@ const theme = ({ dt }) => ` font-size: 1rem; color: ${dt('textarea.color')}; background: ${dt('textarea.background')}; - padding: ${dt('textarea.padding.y')} ${dt('textarea.padding.x')}; + padding-block: ${dt('textarea.padding.y')}; + padding-inline: ${dt('textarea.padding.x')}; border: 1px solid ${dt('textarea.border.color')}; transition: background ${dt('textarea.transition.duration')}, color ${dt('textarea.transition.duration')}, border-color ${dt('textarea.transition.duration')}, outline-color ${dt('textarea.transition.duration')}, box-shadow ${dt( 'textarea.transition.duration'