Skip to content

Commit

Permalink
Fix wrap of very long menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
albig committed Nov 12, 2024
1 parent c3aa716 commit 8a875ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@
margin-right: 0.5rem;
margin-left: 0.5rem;
text-align: left;
white-space: nowrap;

&:hover {
color: $secondary;
Expand Down Expand Up @@ -430,6 +431,10 @@
text-align: end;
border-top: 1px solid $very-light-gray;
padding-left: 24px;

.nav-link {
white-space: normal;
}
}
}

Expand All @@ -447,7 +452,7 @@
}

&-item {
text-wrap: auto;
white-space: normal;
text-align: left;
}
}
Expand Down

0 comments on commit 8a875ea

Please sign in to comment.