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

Flat message doesn't have transparent background #124

Open
Joebayld opened this issue Feb 26, 2021 · 1 comment
Open

Flat message doesn't have transparent background #124

Joebayld opened this issue Feb 26, 2021 · 1 comment

Comments

@Joebayld
Copy link

Joebayld commented Feb 26, 2021

When setting the flat property on a message, the background isn't getting set to transparent (like it does on notify).

Photos describing the behavior:

What it should look like:
image

What's actually happening:
image

Using the following code:

      this.$dialog.message.error('This should be flat', {
        flat: true,
        position: 'bottom',
        timeout: 0
      })

UPDATE:

I've noticed the class theme--light is still set for message, but it should be theme--dark (like it is in notify).

@yariksav
Copy link
Owner

Please describe me how do you connect this module to your project, and version of module. Because I checked and this works fine for me.

You have to put your app vuetify instance in the dialog context (if you don't use nuxt module)

Vue.use(VuetifyDialog, {
context: {
vuetify <- this is important
}
})

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

2 participants