Fix word wrap on navigation near desktop breakpoint
This commit is contained in:
parent
673863431e
commit
bbda6637cf
|
|
@ -164,6 +164,7 @@ export default {
|
||||||
&__link {
|
&__link {
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
@include navigation-link;
|
@include navigation-link;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__primary,
|
&__primary,
|
||||||
|
|
@ -171,9 +172,7 @@ export default {
|
||||||
display: none;
|
display: none;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
//@include desktop
|
@include desktop {
|
||||||
// Overwrite desktop breakpoint, with time2learn link enabled navigation items start to wrap
|
|
||||||
@media (min-width: 1300px) {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue