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

navbar-padding-vertical not in body scope #3772

Open
thht opened this issue Apr 4, 2024 · 0 comments
Open

navbar-padding-vertical not in body scope #3772

thht opened this issue Apr 4, 2024 · 0 comments

Comments

@thht
Copy link

thht commented Apr 4, 2024

This is about Bulma.

Overview of the problem

This is about the Bulma CSS framework

I'm using Bulma version [1.0.0]
I am sure this issue is not a duplicate.

Description

When using a navbar with classes is-fixed-top is-spaced and thus including <body class="has-navbar-fixed-top has-spaced-navbar-fixed-top">, the padding of the navbar is not set correctly.

This is due to the fact that --bulma-navbar-padding-vertical ends up in the .navbar scope and thus cannot be accessed by

  html.has-spaced-navbar-fixed-top,
  body.has-spaced-navbar-fixed-top {
    padding-top: calc(var(--bulma-navbar-height) + var(--bulma-navbar-padding-vertical) * 2);
  }
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