0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-18 07:52:41 +00:00

Fix some nesting of styles

The values from nav.less were mistakenly nested inside each other which was adding too much specificity.
This commit is contained in:
Trevor Buckner
2024-03-01 01:24:50 -05:00
parent 16c37d8d76
commit 50f069e688

View File

@@ -29,9 +29,12 @@
z-index : 2; z-index : 2;
display : flex; display : flex;
justify-content : space-between; justify-content : space-between;
}
.navSection { .navSection {
display : flex; display : flex;
align-items : center; align-items : center;
&:last-child .navItem { border-left : 1px solid #666666; }
}
// "NaturalCrit" logo // "NaturalCrit" logo
.navLogo { .navLogo {
display : block; display : block;
@@ -62,7 +65,6 @@
} }
} }
} }
&:last-child .navItem { border-left : 1px solid #666666; }
.navItem { .navItem {
#backgroundColorsHover; #backgroundColorsHover;
.animate(background-color); .animate(background-color);
@@ -329,7 +331,6 @@
} }
} }
} }
}
// this should likely be refactored into .navDropdownContainer // this should likely be refactored into .navDropdownContainer
.save-menu { .save-menu {
@@ -342,9 +343,3 @@
} }
} }
} }
}