-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix(banner): height changes when dismissible #841
Conversation
🚀 Latest successful build of the PR deployed here. 🚀 |
@jshenkman should we keep icon, button, dismiss in same position as volta when banner is multi-line? Also @tveinfeld the max height on the banner container might cut off content on smaller width devices - if not intended maybe the max height could be removed? |
I actually think the Volta layout is a bit funny-looking... I would like to try having the icon top aligned and having the button and dismiss center aligned. We are making some design changes to the snack-bar (so we will have the legacy and new design) so I think this way the banner will be more consistent with the snack-bars layout |
@jshenkman @yinonov @tveinfeld should we address the layout comments above in separate tasks to avoid scope creep of this PR? |
Good idea @JoelGraham93! Let's try to review it only in the context of "height changes when dismissible" and put everything else onto Jira tickets to discuss and act upon later. In that context - are we ready to approve and merge? @yinonov @JoelGraham93? 🙏 |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* fix(banner): height changes when dismissable * added message field to controls * fix(banner): added padding when dismiss button not present * fix(banner): wrong padding * Update components/banner/src/vwc-banner.scss Co-authored-by: yinon <[email protected]> * pr comments Co-authored-by: yinon <[email protected]> Co-authored-by: Joel Graham <[email protected]>
https://jira.vonage.com/browse/VIV-559