Skip to content

Commit

Permalink
update nav
Browse files Browse the repository at this point in the history
  • Loading branch information
TarasKachmar2022 committed Feb 24, 2024
1 parent 5d8e351 commit b07b23a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="header" data-header>
<div class="container">
<nav>
<nav class="site-nav">
<a class="logo header__logo" href="./" area-label="logo"
><svg class="logo__icon" width="39" height="35">
<use href="./images/sprite.svg#icon-logo"></use>
Expand Down
9 changes: 9 additions & 0 deletions src/sass/components/_nav.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
.site-nav {
@media screen and (min-width: 768px) {
display: flex;
align-items: center;
justify-content: center;
}
}

.site-nav__list {
display: flex;
justify-content: center;
gap: 14px;

@media screen and (min-width: 768px) {
gap: 19px;
margin-left: auto;
}

@media screen and (min-width: 1360px) {
Expand Down

0 comments on commit b07b23a

Please sign in to comment.