From 59cf00d5bb4f3ec023df8c9c8c840bef552fec75 Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Wed, 4 Oct 2023 23:02:28 +0530 Subject: [PATCH] Fix icon shrink when text length increases --- 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;