Skip to content

Commit

Permalink
fix menu regression
Browse files Browse the repository at this point in the history
  • Loading branch information
blurymind committed Jul 16, 2024
1 parent 4181bde commit 6afe43b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</span>
</span>

<div class="dropdown shrink-when-narrow">
<div class="dropdown absolute shrink-when-narrow">
<div id="openHelperMenu"></div>
</div>
</form>
Expand Down
5 changes: 4 additions & 1 deletion src/scss/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,6 @@ input:focus + span + .dropdown {
}

.menu .dropdown {
position: absolute;
clear: left;
overflow: auto;
max-height: 0px;
Expand All @@ -1028,6 +1027,10 @@ input:focus + span + .dropdown {
display: none;
}

.absolute {
position: absolute;
}

.menu .dropdown .item {
display: block;
box-sizing: border-box;
Expand Down

0 comments on commit 6afe43b

Please sign in to comment.