Skip to content

Commit

Permalink
improve mobile ux
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 20, 2024
1 parent edc5c3c commit 33fe57a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ <h1 id="header">Kanji Search (based on JPDBv2 frequency list)</h1>
<label for="contains-reading-input">Contains reading</label>
<div class="row">
<input type="text" id="contains-reading-input">
<label class="flex-default" for="exact-reading-checkbox">Exact</label>
<label class="flex-default">Exact</label>
<input type="checkbox" id="exact-reading-checkbox">
</div>
</div>
<div class="filter-item">
<label for="kanji-only-checkbox">Kanji only</label>
<label>Kanji only</label>
<input type="checkbox" id="kanji-only-checkbox">
</div>
<div class="filter-item">
<label for="contains-all-checkbox">Contains all kanji in list</label>
<label>Contains all kanji in list</label>
<input type="checkbox" id="contains-all-checkbox">
</div>
<div class="filter-item">
<label for="inverse-result-checkbox">Inverse result</label>
<label>Inverse result</label>
<input type="checkbox" id="inverse-result-checkbox">
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,5 @@ const searchOnEnter = (e) => {
};

kanjiListInput.addEventListener('keydown', searchOnEnter);
otherKanjiCountInput.addEventListener('keydown', searchOnEnter);
containsReadingInput.addEventListener('keydown', searchOnEnter);
searchBtn.addEventListener('click', search);
exportTxtBtn.addEventListener('click', exportTxt);

0 comments on commit 33fe57a

Please sign in to comment.