Просмотр исходного кода

fix: prevent session list rows from wrapping to 2 lines (#6812)

Rohan Godha 1 месяц назад
Родитель
Сommit
88c306efd2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx

+ 2 - 2
packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx

@@ -314,12 +314,12 @@ function Option(props: {
   return (
   return (
     <>
     <>
       <Show when={props.current}>
       <Show when={props.current}>
-        <text flexShrink={0} fg={props.active ? fg : props.current ? theme.primary : theme.text} marginRight={0.5}>
+        <text flexShrink={0} fg={props.active ? fg : props.current ? theme.primary : theme.text} marginRight={0}>
         </text>
         </text>
       </Show>
       </Show>
       <Show when={!props.current && props.gutter}>
       <Show when={!props.current && props.gutter}>
-        <box flexShrink={0} marginRight={0.5}>
+        <box flexShrink={0} marginRight={0}>
           {props.gutter}
           {props.gutter}
         </box>
         </box>
       </Show>
       </Show>