Skip to content

Commit

Permalink
Merge pull request #15 from ShaifArfan/dev
Browse files Browse the repository at this point in the history
minor fix
  • Loading branch information
ShaifArfan authored Aug 10, 2021
2 parents 0a5b885 + abbec88 commit 2644e0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions components.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
.nav__icon {
display: block;
}
.nav__icon svg {
.nav__icon svg,
.nav__close svg {
pointer-events: none;
height: 30px;
width: 30px;
Expand All @@ -41,16 +42,10 @@
display: block;
position: absolute;
color: var(--black-1);
position: absolute;
right: 1rem;
top: 1rem;
cursor: pointer;
}
.nav__close svg {
width: 30px;
height: 30px;
pointer-events: none;
}
.nav__list {
z-index: 1000;
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</svg>
</div>
<div class="nav__bgOverlay"></div>
<ol class="nav__list">
<ul class="nav__list">
<div class="nav__close">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
Expand All @@ -52,7 +52,7 @@
<li><a class="nav__link" href="./contact.html">Contact</a></li>
<li><a href="./booking.html" class="btn primary-btn">Book Table</a></li>
</div>
</ol>
</ul>
</nav>
</div>
</div>
Expand Down

0 comments on commit 2644e0f

Please sign in to comment.