mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
fix(app): tighten spacing under Add project
This commit is contained in:
@@ -447,13 +447,14 @@ function NewSessionLocationDialog(props: {
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<Show when={entries().includes(addEntry)}>{option(addEntry)}</Show>
|
||||
<Show when={grouped().length > 0}>
|
||||
<div class="command-palette-group">
|
||||
{/* One group, so the heading follows "Add project" at the row rhythm rather than the gap between groups. */}
|
||||
<div class="command-palette-group">
|
||||
<Show when={entries().includes(addEntry)}>{option(addEntry)}</Show>
|
||||
<Show when={grouped().length > 0}>
|
||||
<div class="command-palette-group-title">{title()}</div>
|
||||
<For each={grouped()}>{option}</For>
|
||||
</div>
|
||||
</Show>
|
||||
</Show>
|
||||
</div>
|
||||
</Show>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user