Skip to content
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

[2.x] Simplify banner component #388

Merged
merged 2 commits into from
Oct 24, 2020
Merged

[2.x] Simplify banner component #388

merged 2 commits into from
Oct 24, 2020

Conversation

bonzai
Copy link
Contributor

@bonzai bonzai commented Oct 23, 2020

There is no need to wrap the message in <span> tag (and duplicate the content) because it's always visible, no matter of screen size.

Also, the message wasn't truncated in Firefox, and I fixed it by using min-w-0 class on the parent element.

Make sure to recompile the assets before testing.

Before After
Zrzut ekranu 2020-10-23 o 23 24 38 Zrzut ekranu 2020-10-23 o 23 24 53

@taylorotwell taylorotwell merged commit 4600ba9 into laravel:master Oct 24, 2020
@bonzai bonzai deleted the simplify-banner branch October 24, 2020 01:58
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.

None yet

2 participants