From a23e3eb50d5216a9ca5fb475c61c47f633098614 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 31 Jan 2024 11:10:36 +0300 Subject: [PATCH] Refactor #5175 - Calendar shares styles --- components/lib/basecomponent/style/BaseComponentStyle.js | 6 ++++++ components/lib/iconfield/style/IconFieldStyle.js | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/lib/basecomponent/style/BaseComponentStyle.js b/components/lib/basecomponent/style/BaseComponentStyle.js index 7933a426c..6ebf8d5fb 100644 --- a/components/lib/basecomponent/style/BaseComponentStyle.js +++ b/components/lib/basecomponent/style/BaseComponentStyle.js @@ -75,6 +75,12 @@ const inputTextCSS = ` .p-fluid .p-inputtext { width: 100%; } + +.p-fluid .p-input-icon-left, +.p-fluid .p-input-icon-right { + display: block; + width: 100%; +} `; const css = ` diff --git a/components/lib/iconfield/style/IconFieldStyle.js b/components/lib/iconfield/style/IconFieldStyle.js index 9b3ed73d1..93f25f048 100644 --- a/components/lib/iconfield/style/IconFieldStyle.js +++ b/components/lib/iconfield/style/IconFieldStyle.js @@ -16,12 +16,6 @@ const css = ` top: 50%; margin-top: -.5rem; } - - .p-fluid .p-input-icon-left, - .p-fluid .p-input-icon-right { - display: block; - width: 100%; - } } `;