From c12c006461ce4ce6aa8fe2f3252255963a11cb58 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 2 Feb 2024 02:14:34 +0300 Subject: [PATCH] Removed display from input icon as it breaks elements with existing display selector --- components/lib/basecomponent/style/BaseComponentStyle.js | 1 - components/lib/iconfield/style/IconFieldStyle.js | 1 - 2 files changed, 2 deletions(-) diff --git a/components/lib/basecomponent/style/BaseComponentStyle.js b/components/lib/basecomponent/style/BaseComponentStyle.js index 6ebf8d5fb..f4564b39c 100644 --- a/components/lib/basecomponent/style/BaseComponentStyle.js +++ b/components/lib/basecomponent/style/BaseComponentStyle.js @@ -78,7 +78,6 @@ const inputTextCSS = ` .p-fluid .p-input-icon-left, .p-fluid .p-input-icon-right { - display: block; width: 100%; } `; diff --git a/components/lib/iconfield/style/IconFieldStyle.js b/components/lib/iconfield/style/IconFieldStyle.js index 93f25f048..65160843a 100644 --- a/components/lib/iconfield/style/IconFieldStyle.js +++ b/components/lib/iconfield/style/IconFieldStyle.js @@ -5,7 +5,6 @@ const css = ` .p-input-icon-left, .p-input-icon-right { position: relative; - display: inline-block; } .p-input-icon-left > i,