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:
Damien Elmes 2023-09-19 13:14:54 +10:00
parent 6074865763
commit d2a0e7825a
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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}