fix(electrobun): limit PathBrowser max-width to 32rem (ultrawide fix)

This commit is contained in:
Hibryda 2026-03-22 12:28:51 +01:00
parent 0d163f77e8
commit 42ca15535b

View file

@ -305,7 +305,7 @@
</span>
{/if}
</div>
<div style:display={showBrowser ? 'block' : 'none'} style="max-height: 16rem; overflow-y: auto; border: 1px solid var(--ctp-surface1); border-radius: 0.375rem; margin-top: 0.5rem;">
<div style:display={showBrowser ? 'block' : 'none'} style="max-height: 16rem; max-width: 32rem; overflow-y: auto; border: 1px solid var(--ctp-surface1); border-radius: 0.375rem; margin-top: 0.5rem;">
<PathBrowser onSelect={handleBrowserSelect} onClose={() => showBrowser = false} />
</div>
{#if pathValid === 'valid' && isGitRepo}