Skip to content

Commit

Permalink
Stop using !important override for top nav
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed May 17, 2021
1 parent 6804c16 commit 27ceb5c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export default {
&:hover {
background-color: #ddd;
}
.nav-link {
color: #555;
}
}
.abs-center {
Expand All @@ -165,12 +169,3 @@ export default {
transform: translateX(-50%);
}
</style>

<style lang="scss">
// Needed because dropdown somehow doesn't properly work with scoping
.nav-item {
.nav-link {
color: #555 !important;
}
}
</style>

0 comments on commit 27ceb5c

Please sign in to comment.