fix popover on ipad
authorPhiTux <redacted>
Thu, 2 Oct 2025 15:31:26 +0000 (17:31 +0200)
committerPhiTux <redacted>
Thu, 2 Oct 2025 15:31:26 +0000 (17:31 +0200)
frontend/src/lib/Sidenav.svelte

index c8014a8382d40009e13b87d4efbe3dd073211e18..f31c85f259655bd5674bf7e6ebe3c474634fbcfc 100644 (file)
                <form onsubmit={searchForString} class="input-group">
                        <button
                                class="btnSearchPopover btn btn-outline-secondary glass"
+                               type="button"
                                data-bs-toggle="popover"
                                data-bs-title="Suche"
                                data-bs-content={$t('search.description')}
-                               onclick={(event) => event.preventDefault()}><Fa icon={faQuestionCircle} /></button
+                               tabindex="0"
+                               aria-label={$t('search.description')}><Fa icon={faQuestionCircle} /></button
                        >
                        {#if $searchTag.id}
                                <!-- If a tag is selected ... -->
 
        :global(.popover-body) {
                overflow-y: auto;
-               /* max-height: 550px; */
-               max-height: 90vh;
+               max-height: 80vh;
        }
 
        .searchTagDropdown {
git clone https://git.99rst.org/PROJECT