RatanShreshtha / DeepThought

A simple blog theme focused on writing powered by Bulma and Zola.
https://deepthought-theme.netlify.app/
MIT License
176 stars 92 forks source link

navbar is-fixed-top does not appear to work in dark mode #87

Open dfd opened 8 months ago

dfd commented 8 months ago

This is either an issue or I'm unaware of how to do it properly. There is a simple way to reproduce what I'm seeing.

According to the Bulma documentation, we can do the following to DeepThought's out-of-the-box example:

Edit the html tag to: <html lang="{{lang}}" class="has-navbar-fixed-top">

and edit the navbar tag to: <nav aria-label="section navigation" class="navbar is-light is-fixed-top" role="navigation">

When I do this, it works as expected in light mode, but not at all in dark mode. Not only that, but it adds a white bar above the navbar. image

Screenshot of it not staying fixed in dark mode: image

Screenshot of it staying fixed in light mode: image