Skip to content

Commit

Permalink
menu wraps on big
Browse files Browse the repository at this point in the history
  • Loading branch information
helemork committed Dec 14, 2023
1 parent 2dbc661 commit 4da7fc0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/style/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ button {
h1,
h2,
h3 {
font-family:$font-space;
font-family:$font-chivo;
}

strong,
Expand Down
22 changes: 20 additions & 2 deletions src/style/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,19 @@ button.dropdown-toggle {
}

@media (max-width: 860px) {


.header-mega-menu {
/* TODO: FIX THE OVERFLOWS ON ALL MENU STUFF*/
max-height: calc(100vh - 53px);
overflow-y: auto;
}

.header-mega-menu {
width: 100vw;
left: auto;
right: 0px;
max-height: calc(100vh - 53px);
border: none;
overflow-y: auto;
top: 53px;
z-index:2000;
}
Expand All @@ -127,6 +133,18 @@ button.dropdown-toggle {
}
}

@media (min-width:861px){
.dropdown-menu-artskart{
display: flex;
gap: 7%;
padding: 10px;
padding-top: 10px;
padding-top: 0;
max-height: calc(100vh - 53px);
overflow-y: auto;
}
}

.dropdown-box {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit 4da7fc0

Please sign in to comment.