Skip to content

Commit

Permalink
Make navigation to wrap automatically if there are too many links, T-…
Browse files Browse the repository at this point in the history
…20918
  • Loading branch information
ronilaukkarinen committed Oct 25, 2024
1 parent 10c4662 commit fe67eec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions css/dev/global.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/global.css

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion sass/navigation/_nav-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@
.menu-items {
align-items: center;
background-color: transparent;
column-gap: var(--gap-main-level-horizontal);
display: flex;
gap: var(--gap-main-level-horizontal);
flex-wrap: wrap;
justify-content: flex-end;
margin: 0;
padding: 0;
position: relative;
row-gap: 1rem;
}

// Navigation list item
Expand Down

0 comments on commit fe67eec

Please sign in to comment.