Skip to content

Commit

Permalink
refactor: adds lang selection menu margin adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
migtarx committed Dec 4, 2023
1 parent 1b22755 commit f0a173d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ a.read-more:active {
100% {
opacity: 0; } }

@media (max-width: 684px) {
.menu-trigger {
margin-right: 20px; } }

.menu {
--color: rgba(0, 0, 0, .12);
--shadow: 0 8px 20px var(--color);
Expand All @@ -271,7 +275,7 @@ a.read-more:active {
top: 50px; }
@media (max-width: 684px) {
.menu {
right: 0px; } }
right: 20px; } }
.menu a {
text-decoration: none; }
.menu__inner {
Expand Down
8 changes: 7 additions & 1 deletion themes/hello-friend/assets/css/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
z-index: 99;
}

@media ($phone) {
.menu-trigger{
margin-right: 20px;
}
}

.menu {
--color: rgba(0, 0, 0, .12);
--shadow: 0 8px 20px var(--color);
Expand All @@ -22,7 +28,7 @@
border: none;
top: 50px;
@media ($phone) {
right: 0px;
right: 20px;
}


Expand Down

0 comments on commit f0a173d

Please sign in to comment.