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

[Bug] v-alert doesn't fill v-snackbar width if not enough content #57

Open
matteoraf opened this issue Apr 2, 2020 · 0 comments
Open

Comments

@matteoraf
Copy link

matteoraf commented Apr 2, 2020

Version

2.1.0

Reproduction link

https://demos.creative-tim.com/vuetify-material-dashboard/index.html#/components/notifications

Operating System

Ubuntu

Device

MacbookPro

Browser & Version

Chrome 80.0.3987.162

Steps to reproduce

insert this component
<base-material-snackbar v-model="snackbar" >Welcome </base-material-snackbar>

What is expected?

The alert inside the snackbar should fill the full width of the snackbar

What is actually happening?

The alert width is reduced to the minimum necessary to show the content, but you can see the transparent snackbar component behind


Solution

Add property width="100%" to <base-material-alert> component in https://github.com/creativetimofficial/vuetify-material-dashboard/blob/master/src/components/base/MaterialSnackbar.vue at line 17

Additional comments

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

No branches or pull requests

1 participant