Skip to content

Commit

Permalink
Update demo to Vanilla 4.9.0 and fix inverted links theming
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Mar 18, 2024
1 parent 5601f1f commit 6fb5e02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Canonical global navigation demo</title>
<meta name="description" content="Canonical global navigation demo" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla-framework-version-4.0.0.min.css" />
<link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla-framework-version-4.9.0.min.css" />
<style type="text/css">
body {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion src/js/global-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export const createNav = ({ breakpoint = 1036, mobileContainerSelector, desktopC
const mobileDropdown = createFromHTML(mobileDropdownHTML);

const navDropdown = createFromHTML(
`<div id="all-canonical-desktop" class="global-nav-dropdown">
`<div id="all-canonical-desktop" class="global-nav-dropdown is-dark">
<div class="global-nav-dropdown__content u-hide" aria-hidden="true" id="canonical-products">
${createProductDropdown(canonicalProducts)}
</div>
Expand Down

0 comments on commit 6fb5e02

Please sign in to comment.