opencode-agent[bot] před 1 měsícem
rodič
revize
aca52ba198

+ 3 - 15
packages/app/src/components/dialog-connect-provider.tsx

@@ -1121,18 +1121,10 @@ function ProviderConnection(props: {
 
 
   return (
   return (
     <div class={newLayout() ? "flex min-h-0 flex-1 flex-col" : "flex flex-col gap-6 px-2.5 pb-3"}>
     <div class={newLayout() ? "flex min-h-0 flex-1 flex-col" : "flex flex-col gap-6 px-2.5 pb-3"}>
-      <div
-        class={
-          newLayout() ? "flex h-10 shrink-0 items-start gap-2 px-3" : "flex items-center gap-4 px-2.5"
-        }
-      >
+      <div class={newLayout() ? "flex h-10 shrink-0 items-start gap-2 px-3" : "flex items-center gap-4 px-2.5"}>
         <ProviderIcon
         <ProviderIcon
           id={props.provider}
           id={props.provider}
-          class={
-            newLayout()
-              ? "mt-0.5 size-4 shrink-0 text-v2-icon-icon-base"
-              : "size-5 shrink-0 icon-strong-base"
-          }
+          class={newLayout() ? "mt-0.5 size-4 shrink-0 text-v2-icon-icon-base" : "size-5 shrink-0 icon-strong-base"}
         />
         />
         <div
         <div
           class={
           class={
@@ -1149,11 +1141,7 @@ function ProviderConnection(props: {
           </Switch>
           </Switch>
         </div>
         </div>
       </div>
       </div>
-      <div
-        class={
-          newLayout() ? "flex min-h-0 flex-1 flex-col" : "flex flex-col gap-6 px-2.5 pb-10"
-        }
-      >
+      <div class={newLayout() ? "flex min-h-0 flex-1 flex-col" : "flex flex-col gap-6 px-2.5 pb-10"}>
         <div
         <div
           onKeyDown={handleKey}
           onKeyDown={handleKey}
           tabIndex={newLayout() ? undefined : 0}
           tabIndex={newLayout() ? undefined : 0}