summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-10-31 15:57:21 -0500
committerAdam <[email protected]>2025-10-31 15:57:21 -0500
commit70d8d1ab1e3b257e09220a41e1e46c4042f0edc0 (patch)
treebea47907f319a75f22bca7d2ccbe227a248ef74a
parent342aa27e03dd0db02b60a15a1779254bce395e19 (diff)
downloadopencode-70d8d1ab1e3b257e09220a41e1e46c4042f0edc0.tar.gz
opencode-70d8d1ab1e3b257e09220a41e1e46c4042f0edc0.zip
wip: desktop work
-rw-r--r--packages/desktop/src/pages/index.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/desktop/src/pages/index.tsx b/packages/desktop/src/pages/index.tsx
index 35e415aaf..badd0009d 100644
--- a/packages/desktop/src/pages/index.tsx
+++ b/packages/desktop/src/pages/index.tsx
@@ -9,7 +9,6 @@ import {
Accordion,
Diff,
Collapsible,
- Part,
DiffChanges,
ProgressCircle,
Message,
@@ -724,7 +723,12 @@ export default function Page() {
</Switch>
</h2>
<Show when={summary()}>
- {(summary) => <Markdown class="[&>*]:fade-up-text" text={summary()} />}
+ {(summary) => (
+ <Markdown
+ classList={{ "[&>*]:fade-up-text": !diffs().length }}
+ text={summary()}
+ />
+ )}
</Show>
</div>
<Accordion class="w-full" multiple>