Skip to content

Commit

Permalink
Merge pull request #82 from sz3/ios-css-bugfix
Browse files Browse the repository at this point in the history
Fix bug/change in ios (un)focus behavior?
  • Loading branch information
sz3 committed Dec 4, 2023
2 parents faebb87 + 69a7d41 commit 05d5e38
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
pointer-events: none;
}
#nav-container .bg {
pointer-events: auto;
position: absolute;
left: 0;
width: 100%;
Expand Down Expand Up @@ -192,12 +193,10 @@
#nav-content {
margin-top: 60px;
padding: 20px;
max-width: 200px;
position: absolute;
top: 0;
left: 0;
height: calc(100% - 60px);
width: 90%;
overflow-x: clip;
background-color: #282C34;
text-align: center;
Expand Down Expand Up @@ -268,8 +267,8 @@
<input style="display:none;" type="file" name="file_input" id="file_input" onchange="Main.fileInput(this);" />

<div id="nav-container" class="c4">
<div class="bg"></div>
<button id="nav-button" tabindex="0">
<div class="bg" onclick="Main.blurNav();"></div>
<button id="nav-button" tabindex="0" onclick="Main.clickNav();">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand Down

0 comments on commit 05d5e38

Please sign in to comment.