Skip to content

Commit

Permalink
Update navigation
Browse files Browse the repository at this point in the history
Resolves #121
  • Loading branch information
oodamien committed Aug 25, 2023
1 parent 1451904 commit 53dc026
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ body {
transition-property: opacity, transform;
}

.navbar-dropdown.lg {
width: 300px;
left: -20px;
}

.navbar-dropdown .navbar-item {
padding: 0.2rem 3rem 0.2rem 1rem;
white-space: nowrap;
Expand Down
12 changes: 7 additions & 5 deletions src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,13 @@
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Support</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://spring.io/support">Overview</a>
<a class="navbar-item" href="https://spring.io/security">Security
Advisories</a>
<a class="navbar-link" href="#">Solutions</a>
<div class="navbar-dropdown lg">
<a class="navbar-item" href="https://spring.io/solutions">Overview</a>
<a class="navbar-item" href="https://spring.io/runtime">Spring Runtime</a>
<a class="navbar-item" href="https://spring.io/consulting">Spring Consulting</a>
<a class="navbar-item" href="https://spring.academy/teams">Spring Academy For Teams</a>
<a class="navbar-item" href="https://spring.io/security">Security Advisories</a>
</div>
</div>

Expand Down

0 comments on commit 53dc026

Please sign in to comment.