From c6cd944735dec7e045a200ab75792ee11f8b6c3d Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Thu, 5 Oct 2023 19:04:21 +0530 Subject: [PATCH] Fix icon shrink when text length increases (#4551) --- components/lib/inlinemessage/style/InlineMessageStyle.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lib/inlinemessage/style/InlineMessageStyle.js b/components/lib/inlinemessage/style/InlineMessageStyle.js index 560e120e30..f4343c0e75 100644 --- a/components/lib/inlinemessage/style/InlineMessageStyle.js +++ b/components/lib/inlinemessage/style/InlineMessageStyle.js @@ -8,6 +8,10 @@ const css = ` justify-content: center; vertical-align: top; } + + .p-inline-message-icon { + flex-shrink: 0; + } .p-inline-message-icon-only .p-inline-message-text { visibility: hidden;