فهرست منبع

fix(desktop): styling tweaks

Adam 3 ماه پیش
والد
کامیت
71fd5966ad
2فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 5 1
      packages/desktop/src/components/prompt-input.tsx
  2. 1 4
      packages/desktop/src/pages/session.tsx

+ 5 - 1
packages/desktop/src/components/prompt-input.tsx

@@ -345,7 +345,11 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
   return (
     <div class="relative size-full _max-h-[320px] flex flex-col gap-3">
       <Show when={store.popoverIsOpen}>
-        <div class="absolute inset-x-0 -top-3 -translate-y-full origin-bottom-left max-h-[252px] min-h-10 overflow-y-auto flex flex-col p-2 pb-0 rounded-2xl border border-border-base bg-surface-raised-stronger-non-alpha shadow-md">
+        <div
+          class="absolute inset-x-0 -top-3 -translate-y-full origin-bottom-left max-h-[252px] min-h-10
+                 overflow-auto no-scrollbar flex flex-col p-2 pb-0 rounded-2xl 
+                 border border-border-base bg-surface-raised-stronger-non-alpha shadow-md"
+        >
           <Show when={flat().length > 0} fallback={<div class="text-text-weak px-2">No matching files</div>}>
             <For each={flat()}>
               {(i) => (

+ 1 - 4
packages/desktop/src/pages/session.tsx

@@ -725,15 +725,12 @@ export default function Page() {
             </div>
           </Tabs.Content>
           <Show when={local.layout.review.state() === "tab" && session.diffs().length}>
-            <Tabs.Content value="review" class="select-text">
+            <Tabs.Content value="review" class="select-text mt-8">
               <div
                 classList={{
                   "relative px-6 py-2 w-full flex flex-col gap-6 flex-1 min-h-0": true,
                 }}
               >
-                <div class="h-8 w-full flex items-center justify-between shrink-0 self-stretch sticky top-0 bg-background-stronger z-100">
-                  <div class="flex items-center gap-x-3"></div>
-                </div>
                 <div class="text-14-medium text-text-strong">All changes</div>
                 <div class="h-full pb-40 overflow-y-auto no-scrollbar">
                   <Accordion class="w-full" multiple>