|
@@ -47,8 +47,7 @@ export const PromptPopover: Component<PromptPopoverProps> = (props) => {
|
|
|
class="absolute inset-x-0 -top-2 -translate-y-full origin-bottom-left max-h-80 min-h-10
|
|
class="absolute inset-x-0 -top-2 -translate-y-full origin-bottom-left max-h-80 min-h-10
|
|
|
overflow-auto no-scrollbar flex flex-col p-2"
|
|
overflow-auto no-scrollbar flex flex-col p-2"
|
|
|
classList={{
|
|
classList={{
|
|
|
- "z-[70] rounded-[10px] bg-v2-background-bg-base shadow-[var(--v2-elevation-raised)]":
|
|
|
|
|
- props.newLayoutDesigns,
|
|
|
|
|
|
|
+ "z-[70] rounded-[10px] bg-v2-background-bg-base shadow-[var(--v2-elevation-raised)]": props.newLayoutDesigns,
|
|
|
"rounded-[12px] bg-surface-raised-stronger-non-alpha shadow-[var(--shadow-lg-border-base)]":
|
|
"rounded-[12px] bg-surface-raised-stronger-non-alpha shadow-[var(--shadow-lg-border-base)]":
|
|
|
!props.newLayoutDesigns,
|
|
!props.newLayoutDesigns,
|
|
|
}}
|
|
}}
|
|
@@ -239,9 +238,7 @@ export const PromptPopover: Component<PromptPopoverProps> = (props) => {
|
|
|
</Tag>
|
|
</Tag>
|
|
|
</Show>
|
|
</Show>
|
|
|
</Show>
|
|
</Show>
|
|
|
- <Show
|
|
|
|
|
- when={props.newLayoutDesigns ? keybindParts().length > 0 : keybind()}
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <Show when={props.newLayoutDesigns ? keybindParts().length > 0 : keybind()}>
|
|
|
<Show
|
|
<Show
|
|
|
when={props.newLayoutDesigns}
|
|
when={props.newLayoutDesigns}
|
|
|
fallback={<span class="text-12-regular text-text-subtle">{keybind()}</span>}
|
|
fallback={<span class="text-12-regular text-text-subtle">{keybind()}</span>}
|