mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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>
|
</script>
|
||||||
|
|
||||||
<div
|
<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}
|
bind:this={container}
|
||||||
>
|
>
|
||||||
<LabelButton
|
<LabelButton
|
||||||
|
|
|
@ -26,7 +26,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</IconConstrain>
|
</IconConstrain>
|
||||||
{summary.summaryTemplate({ count: notes.length })}
|
{summary.summaryTemplate({ count: notes.length })}
|
||||||
{#if summary.canBrowse}
|
{#if summary.canBrowse}
|
||||||
<button on:click={onShow}>{tr.importingShow()}</button>
|
<button class="desktop-only" on:click={onShow}>{tr.importingShow()}</button>
|
||||||
{/if}
|
{/if}
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue