fix(electrobun): limit PathBrowser max-width to 32rem (ultrawide fix)
This commit is contained in:
parent
0d163f77e8
commit
42ca15535b
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</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} />
|
<PathBrowser onSelect={handleBrowserSelect} onClose={() => showBrowser = false} />
|
||||||
</div>
|
</div>
|
||||||
{#if pathValid === 'valid' && isGitRepo}
|
{#if pathValid === 'valid' && isGitRepo}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue