Skip to content

Commit

Permalink
Try using a button element?
Browse files Browse the repository at this point in the history
  • Loading branch information
sz3 committed Jun 12, 2021
1 parent a7f663a commit 8d4cbc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@
cursor: pointer;
pointer-events: auto;
touch-action: manipulation;
border: 0;
outline: 0;
background-image: linear-gradient(180deg, rgb(0,0,0,0) 10%, rgb(0,0,0) 40%, rgb(0,0,0) 60%, rgb(0,0,0,0) 90%);
background-color: initial;
}
.icon-bar {
display: block;
Expand Down Expand Up @@ -266,12 +268,12 @@

<div id="nav-container" class="c4">
<div class="bg"></div>
<div id="nav-button" tabindex="0">
<button id="nav-button" tabindex="0">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</div>
</button>
<div id="nav-content" tabindex="-1">
<span id="current-file">No file selected</span>
<ul>
Expand Down

0 comments on commit 8d4cbc9

Please sign in to comment.