Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fix #15

Merged
merged 1 commit into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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