mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
fix(app): tuck the new session location row behind the composer like the queue panel
This commit is contained in:
parent
c09ce02c01
commit
2b588c332b
1 changed files with 5 additions and 9 deletions
|
|
@ -79,14 +79,10 @@ export function NewSessionView(props: {
|
|||
<div class={NEW_SESSION_CONTENT_WIDTH}>
|
||||
<NewSessionWordmark ref={setWordmark} />
|
||||
<div class="mt-8 flex flex-col gap-3">
|
||||
<div
|
||||
data-slot="new-session-composer"
|
||||
classList={{
|
||||
"rounded-[14px] bg-v2-background-bg-base px-1 pt-1 shadow-[inset_0_0_0_0.5px_var(--v2-border-border-base)]":
|
||||
!!props.project.selected(),
|
||||
}}
|
||||
>
|
||||
<Composer model={props.composer} borderUnderlay={!!props.project.selected()} />
|
||||
<div data-slot="new-session-composer">
|
||||
<div class="relative z-10">
|
||||
<Composer model={props.composer} borderUnderlay={!!props.project.selected()} />
|
||||
</div>
|
||||
<Show when={props.project.selected()}>
|
||||
{(project) => (
|
||||
<NewSessionLocation
|
||||
|
|
@ -284,7 +280,7 @@ function NewSessionLocation(props: {
|
|||
}
|
||||
|
||||
return (
|
||||
<div class="flex h-9 min-w-0 items-center gap-3 px-2 text-[13px] font-[440] leading-[var(--line-height-compact)] tracking-[-0.04px]">
|
||||
<div class="relative z-0 -mt-3 flex h-[48px] min-w-0 items-center gap-3 rounded-xl bg-v2-background-bg-base px-2 pt-3 shadow-[inset_0_0_0_0.5px_var(--v2-border-border-base)] text-[13px] font-[440] leading-[var(--line-height-compact)] tracking-[-0.04px]">
|
||||
<div class="flex min-w-0 max-w-[60%] shrink-0 @max-[560px]:max-w-full">
|
||||
<Tooltip
|
||||
appearance={props.onboarding ? "large" : undefined}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue