Skip to content

Commit 8074a0c

Browse files
committed
style: minor feed item style tweaks
This commit applies minor style-related adjustments to the FeedItem Svelte component. - Wraps robot icon markup for clearer containment. - Adjusts conditionals and header logic for more explicit structure and simpler styling. No functional behavior is changed, this commit introduces only presentational changes to the component markup.
1 parent 1acaf11 commit 8074a0c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/desktop/src/components/FeedItem.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@
5858
<div class="action-item" id="action-{action.id}">
5959
{#if action instanceof ButlerAction}
6060
{#if isStr(action.source) || !action.source.Mcp}
61-
<div class="action-item__robot">
62-
<Icon name="robot" />
61+
<div>
62+
<div class="action-item__robot">
63+
<Icon name="robot" />
64+
</div>
6365
</div>
6466
{:else}
6567
<div class="action-item__editor-logo">
@@ -71,7 +73,7 @@
7173
{/if}
7274
<div class="action-item__content">
7375
<div class="action-item__content__header">
74-
{#if isStr(action.source) || !action.source.Mcp}
76+
{#if isStr(action.source)}
7577
<div>
7678
<p class="text-13 text-bold">Action</p>
7779
<p class="text-13 text-bold text-grey">{action.source}</p>

0 commit comments

Comments
 (0)