Skip to content

Commit

Permalink
Use Tailwind .hidden instead of hardcoding style
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Dec 31, 2023
1 parent 1969e22 commit af3bb55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/downloadable/DownloadableDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ value }}
<div v-if="title == 'SHA256'">
<a href="#" v-on:click="compareSha256">Compare</a>
<input type="file" ref="input" style="display: none" />
<input class="hidden" type="file" ref="input" />
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/verify-tab/VerifyTabPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<button class="btn px-4 py-1" @click="verifyClicked">Verify OTA package signature</button>
</div>
<form>
<input type="file" ref="inputRef" @change="verifyFileInput" style="display: none" />
<input class="hidden" type="file" ref="inputRef" @change="verifyFileInput" />
</form>
</div>
</div>
Expand Down

0 comments on commit af3bb55

Please sign in to comment.