mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Hide show/close buttons on mobile
iOS can't handle text fields that are potentially megabytes big, and the close button is superfluous
This commit is contained in:
parent
6074865763
commit
d2a0e7825a
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</script>
|
||||
|
||||
<div
|
||||
class="fixed-header d-flex flex-row-reverse justify-content-between"
|
||||
class="fixed-header d-flex flex-row-reverse justify-content-between desktop-only"
|
||||
bind:this={container}
|
||||
>
|
||||
<LabelButton
|
||||
|
|
|
@ -26,7 +26,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</IconConstrain>
|
||||
{summary.summaryTemplate({ count: notes.length })}
|
||||
{#if summary.canBrowse}
|
||||
<button on:click={onShow}>{tr.importingShow()}</button>
|
||||
<button class="desktop-only" on:click={onShow}>{tr.importingShow()}</button>
|
||||
{/if}
|
||||
</li>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue