tweaks to hamburger

This commit is contained in:
Mark Eaton
2022-06-22 16:28:51 -04:00
parent 879404a3fe
commit 97bb8dc426
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ a.no-underline { text-decoration: none; }
} }
} }
@media only screen and (min-width: 1px) and (max-width: 767px) { @media only screen and (min-width: 1px) and (max-width: 768px) {
.mobile-dropdown { max-width: 33.3%; } .mobile-dropdown { max-width: 33.3%; }
.yamm1, .yamm2, .yamm3 { position: absolute; background-color: white; z-index: 5; border: 1px solid #ccc; margin-top: -4px; } .yamm1, .yamm2, .yamm3 { position: absolute; background-color: white; z-index: 5; border: 1px solid #ccc; margin-top: -4px; }
.yamm1 { max-width: 50vw; } .yamm1 { max-width: 50vw; }
@@ -309,7 +309,7 @@ a.no-underline { text-decoration: none; }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
#hamburger { display: none; } #hamburger, #hamburger-ul { display: none; }
.zero-margin { margin: -2px; } .zero-margin { margin: -2px; }
+1 -1
View File
@@ -12,7 +12,7 @@
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" id="hamburger"> <button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" id="hamburger">
<i class="fas fa-bars" style="font-size: 2em;"></i> <i class="fas fa-bars" style="font-size: 2em;"></i>
</button> </button>
<ul class="dropdown-menu" aria-labelledby="hamburger"> <ul class="dropdown-menu" aria-labelledby="hamburger" id="hamburger-ul">
<li> <li>
<a class="searchmenu" aria-label="Faculty and Staff" href="https://library.kbcc.cuny.edu/about-us/directory"> <a class="searchmenu" aria-label="Faculty and Staff" href="https://library.kbcc.cuny.edu/about-us/directory">
<div class="col-xs-12 highlight-menu-item bigger-fancy-text"> <div class="col-xs-12 highlight-menu-item bigger-fancy-text">