Skip to content

Commit

Permalink
Another nav fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Corgan committed Sep 29, 2024
1 parent e1d99ee commit f26343f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions _sass/bootstrap/scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
list-style: none;
background-color: $dropdown-bg;
background-clip: padding-box;
border: $dropdown-border-width solid $dropdown-border-color;
border: 0px solid $dropdown-border-color; // $dropdown-border-width from the 0px
@include border-radius($dropdown-border-radius);
@include box-shadow($dropdown-box-shadow);
font-family: "ManifoldDSA", sans-serif;
font-weight: bold;
}

@each $breakpoint in map-keys($grid-breakpoints) {
Expand Down Expand Up @@ -125,8 +127,8 @@
width: 100%; // For `<button>`s
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
clear: both;
font-weight: $font-weight-normal;
color: $dropdown-link-color;
font-weight: bold;
color: $navbar-dark-color;
text-align: inherit; // For `<button>`s
white-space: nowrap; // prevent links from randomly breaking onto new lines
background-color: transparent; // For `<button>`s
Expand All @@ -145,9 +147,8 @@
}

@include hover-focus {
color: $dropdown-link-hover-color;
color: $navbar-dark-hover-color;
text-decoration: none;
@include gradient-bg($dropdown-link-hover-bg);
}

&.active,
Expand Down
4 changes: 2 additions & 2 deletions _sass/bootstrap/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
padding-left: 0;
}

// Hide the dropdown menu by default
/* Hide the dropdown menu by default
.dropdown-menu {
display: none;
position: absolute; // Ensure it's positioned correctly below the parent
Expand All @@ -99,7 +99,7 @@
&.disabled {
color: $navbar-dark-disabled-color;
}
}
}*/

// Show the dropdown menu when hovering over the parent item
.nav-item:hover .dropdown-menu {
Expand Down

0 comments on commit f26343f

Please sign in to comment.