Skip to content

Commit

Permalink
Make toggle and bottom logo visible
Browse files Browse the repository at this point in the history
  • Loading branch information
coskucinkilic committed Oct 8, 2024
1 parent d5077de commit a3bd888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 1 addition & 5 deletions src/lib/components/Menu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,11 @@
}
.bottom-logo {
display: none;
display: block;
padding-bottom: var(--padding-3x);
color: var(--menu-color);
text-align: center;
@media (min-height: 654px) {
display: block;
}
}
.logo {
Expand Down
9 changes: 2 additions & 7 deletions src/lib/styles/global/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

button {
&.menu-collapse {
display: flex;
opacity: 0;
visibility: hidden;
transition:
Expand All @@ -25,13 +26,7 @@
min-height: var(--padding-4x);

transform: rotate(0deg);

display: none;

// 654px is an empirical value. The same value as in <MenuBackground /> in which we hide the header and footer of the menu according screen size.
@media (min-height: 654px) {
display: flex;
}
z-index: calc(var(--menu-z-index) + 2);
}

&.menu-collapse {
Expand Down

0 comments on commit a3bd888

Please sign in to comment.