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

Notificaiton vs NavBar Z-Index #103

Open
detinho opened this issue Jan 25, 2020 · 0 comments
Open

Notificaiton vs NavBar Z-Index #103

detinho opened this issue Jan 25, 2020 · 0 comments

Comments

@detinho
Copy link

detinho commented Jan 25, 2020

I was testing the notifications on the theme (Vue Paper Dashboard 2 Pro) and noticed the close button on the notification was not working when displaying the notification on the top.
Then I realized the z-index of NavBar is set higher than the notification component. Bellow the relevant bits of css:

_plugin-vue-notifyjs.scss

.notifications.vue-notifyjs {
  .alert {
    z-index: 1000;
    position: fixed;
  }
  ...
}

_navbar.scss:

    &.navbar-absolute{
        position: absolute;
        width: 100%;
        padding-top: 10px;
        z-index: 1029;
    }

I fixed the issue setting a higher z-index for the notification on a custom scss file I have for my project, but I think this should be fixed on the projects source.

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