Browse Source

chore: generate

opencode-agent[bot] 2 months ago
parent
commit
82a482b36d
1 changed files with 2 additions and 5 deletions
  1. 2 5
      packages/app/src/components/prompt-input/slash-popover.tsx

+ 2 - 5
packages/app/src/components/prompt-input/slash-popover.tsx

@@ -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
                  overflow-auto no-scrollbar flex flex-col p-2"
         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)]":
             !props.newLayoutDesigns,
         }}
@@ -239,9 +238,7 @@ export const PromptPopover: Component<PromptPopoverProps> = (props) => {
                             </Tag>
                           </Show>
                         </Show>
-                        <Show
-                          when={props.newLayoutDesigns ? keybindParts().length > 0 : keybind()}
-                        >
+                        <Show when={props.newLayoutDesigns ? keybindParts().length > 0 : keybind()}>
                           <Show
                             when={props.newLayoutDesigns}
                             fallback={<span class="text-12-regular text-text-subtle">{keybind()}</span>}