Skip to content

Commit

Permalink
Realign with Charmhub
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Jan 31, 2025
1 parent ff60a6b commit 9a70ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$color-accent-background: #f0f5f7;
$color-accent: #e95420;
$breakpoint-medium: 619px;
$breakpoint-navigation-threshold: 1110px; // keep in sync with charmhub.io and canonicalGlobalNav.createNav() call
$breakpoint-navigation-threshold: 1220px; // keep in sync with charmhub.io and canonicalGlobalNav.createNav() call

@import "vanilla-framework/scss/vanilla";

Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</script>
<script src="/static/js/build/global-nav/global-nav.js"></script>
<script>
canonicalGlobalNav.createNav({ breakpoint: 1110 }); // keep it in sync with $breakpoint-navigation-threshold
canonicalGlobalNav.createNav({ breakpoint: 1220 }); // keep it in sync with $breakpoint-navigation-threshold
initNavDropdowns(".p-navigation__item--dropdown-toggle");
</script>

Expand Down

0 comments on commit 9a70ca0

Please sign in to comment.