Skip to content

Commit

Permalink
feat(ui): enforce no-shrink on toast message icon
Browse files Browse the repository at this point in the history
RISDEV-4777
  • Loading branch information
hamo225 committed Sep 8, 2024
1 parent 42ed123 commit 99f5c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primevue/toast/toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const toast: ToastPassThroughOptions = {
}),

messageIcon: ({ props }) => {
const baseIcon = tw`h-20 w-20 p-2`;
const baseIcon = tw`h-20 w-20 flex-none shrink-0 p-2`; // Enforcing no shrinking

const severity = props.message?.severity ?? "info";

Expand Down

0 comments on commit 99f5c1c

Please sign in to comment.