Skip to content

fix(web-components): align MessageBar multiline dismiss button - #36547

Open
jibin jose (jibin7jose) wants to merge 2 commits into
microsoft:masterfrom
jibin7jose:fix/message-bar-multiline-dismiss
Open

fix(web-components): align MessageBar multiline dismiss button#36547
jibin jose (jibin7jose) wants to merge 2 commits into
microsoft:masterfrom
jibin7jose:fix/message-bar-multiline-dismiss

Conversation

@jibin7jose

Copy link
Copy Markdown

Previous Behavior

When the MessageBar was in multiline mode, the dismiss button slot had a padding-block-start set in the styles. This pushed the dismiss button down, causing it to misalign with the multiline text.

New Behavior

Removed the padding-block-start from the multiline dismiss slot rule in message-bar.styles.ts. The dismiss button now remains correctly aligned at the start of the multiline text.

Related Issue(s)

@jibin7jose
jibin jose (jibin7jose) requested a review from a team as a code owner August 11, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Message Bar multiline dismiss button layout

1 participant