mirror of
https://github.com/langgenius/dify.git
synced 2026-06-24 13:01:16 +08:00
feat(web): snippet icon
This commit is contained in:
parent
f2d0ac74e9
commit
e1c419f122
@ -95,11 +95,8 @@ export const SnippetSidebarContent = ({
|
||||
return (
|
||||
<div className={cn('flex h-full min-h-0 flex-col overflow-hidden bg-background-default', className)}>
|
||||
<div className="shrink-0 px-3 py-2">
|
||||
<div className="flex items-start gap-3">
|
||||
<SnippetPlaceholderIcon
|
||||
className="size-12 shrink-0 rounded-[16px]"
|
||||
graphicClassName="size-9"
|
||||
/>
|
||||
<div className="flex items-center gap-3">
|
||||
<SnippetPlaceholderIcon />
|
||||
<div className="min-w-0 grow">
|
||||
<div className="truncate system-xl-semibold text-text-primary" title={snippet.name}>{snippet.name}</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user