Skip to content

Commit

Permalink
Merge branch 'ui-v2' of https://github.com/IGS/gEAR into ui-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Dec 12, 2023
2 parents f02bda9 + 4e5fbe5 commit 3812eb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion www/include/primary_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<aside class="menu mt-5 pl-3">
<p class="menu-label mb-0 is-capitalized has-text-primary-light has-text-weight-medium">
<span class="menu-label-text">Menu</span>
<span id="navbar-toggler" class="icon is-pulled-right"><i class="mdi mdi-18px mdi-chevron-left"></i></span>
<span id="navbar-toggler" class="icon is-clickable is-pulled-right"><i class="mdi mdi-18px mdi-chevron-left-box"></i></span>
</p>
<ul class="menu-list">
<li>
Expand Down
8 changes: 4 additions & 4 deletions www/js/common.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector("#navbar-logo-small").classList.remove("is-hidden")

// Change the toggle arrow direction
document.querySelector("#navbar-toggler i").classList.remove("mdi-chevron-left")
document.querySelector("#navbar-toggler i").classList.add("mdi-chevron-right")
document.querySelector("#navbar-toggler i").classList.remove("mdi-chevron-left-box")
document.querySelector("#navbar-toggler i").classList.add("mdi-chevron-right-box")

// Hiding the span.icon-text-part causes the menu to narrow
document.querySelectorAll('span.icon-text-part').forEach(function (element) {
Expand Down Expand Up @@ -101,8 +101,8 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelector("#navbar-logo-normal").classList.remove("is-hidden")

// Change the toggle arrow direction
document.querySelector("#navbar-toggler i").classList.remove("mdi-chevron-right")
document.querySelector("#navbar-toggler i").classList.add("mdi-chevron-left")
document.querySelector("#navbar-toggler i").classList.remove("mdi-chevron-right-box")
document.querySelector("#navbar-toggler i").classList.add("mdi-chevron-left-box")

// Hiding the span.icon-text-part causes the menu to narrow
document.querySelectorAll('span.icon-text-part').forEach(function (element) {
Expand Down

0 comments on commit 3812eb2

Please sign in to comment.