Skip to content

Commit

Permalink
fix(navbar): weird coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
xaralis committed Feb 9, 2021
1 parent 7231796 commit ac30b74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ $fa-font-path: '~@fortawesome/fontawesome-free/webfonts';
@import "./helpers/content";
@import "./helpers/border-radius";
@import "./helpers/spacing";

// workaround for https://github.com/jgthms/bulma/issues/3009
.tabs.is-boxed .is-active {
color: $info;
}
4 changes: 3 additions & 1 deletion ksicht/templates/includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@

<div class="navbar-dropdown">
{% for guide in guides %}
<a href="{{ guide.url }}" class="navbar-item {% if request.get_full_path == guide.url %}is-active{% endif %}">
{% comment %} Workaround: use dropdown-item instead navbar-item {% endcomment %}
{% comment %} @see: https://github.com/jgthms/bulma/issues/3009 {% endcomment %}
<a href="{{ guide.url }}" class="dropdown-item {% if request.get_full_path == guide.url %}is-active{% endif %}">
{{ guide.title }}
</a>
{% endfor %}
Expand Down

0 comments on commit ac30b74

Please sign in to comment.