mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-12-05 10:03:44 +01:00
style: plain profile names
This commit is contained in:
1 parent
6f02b53808
commit
913ed7cbb7
2 files changed
+4
-3
No files matched your search
@@ -243,7 +243,7 @@ function ChatView({
|
||||
<div className="mx-auto w-full max-w-2xl shrink-0">{composer}</div>
|
||||
</div>
|
||||
{liveProps && (
|
||||
<div className="hidden w-[min(28rem,44%)] shrink-0 flex-col @[52rem]:flex">
|
||||
<div className="hidden w-[min(40rem,52%)] shrink-0 flex-col @[52rem]:flex">
|
||||
<LiveView layout="panel" {...liveProps} />
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -69,8 +69,9 @@ function useSessionNamer(sessions: readonly AgentSession[]): SessionNamer {
|
||||
|
||||
function ProfileChip({ name }: { name: string }) {
|
||||
return (
|
||||
<span className="max-w-48 truncate rounded-md bg-foreground/6 px-1.5 py-0.5 text-[11px] text-foreground">
|
||||
{name}
|
||||
<span className="flex max-w-48 items-center gap-x-1.5 truncate">
|
||||
<span aria-hidden="true">·</span>
|
||||
<span className="truncate text-foreground/80">{name}</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user