Fix word wrap on navigation near desktop breakpoint

This commit is contained in:
Ramon Wenger 2024-05-02 08:42:55 +02:00
parent 673863431e
commit bbda6637cf
1 changed files with 2 additions and 3 deletions

View File

@ -164,6 +164,7 @@ export default {
&__link {
padding: 0 24px;
@include navigation-link;
white-space: nowrap;
}
&__primary,
@ -171,9 +172,7 @@ export default {
display: none;
flex-direction: row;
//@include desktop
// Overwrite desktop breakpoint, with time2learn link enabled navigation items start to wrap
@media (min-width: 1300px) {
@include desktop {
display: flex;
}
}