-
Notifications
You must be signed in to change notification settings - Fork 48
fix: Alert.Inline Text Wrapping #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Uh oh! @HarshMN2345, the image you shared is missing helpful alt text. Check your pull request body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
🚀 Previews available on pkg.vc!📦
|
commit: |
| <Stack> | ||
| {#if title || $$slots.default} | ||
| <Stack gap="none"> | ||
| <div class="content"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was the Stack removed? We can use it without the manual css.
| <span class="inline-content"> | ||
| <slot /> | ||
| </span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we try using a simple div? If its just an inlining issue, a single wrapper should be fine without any extra classes.
Fix Alert.Inline Text Wrapping
This PR fixes text wrapping issues in the Alert.Inline component where text would break awkwardly, especially with multi-line content.
Changes
Before
After