Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(emoji-picker): Adjust the style of the emoji picker (#22161) (#22231)

HyaCinth2d3c5b3b7c33
diff --git a/web/app/components/base/emoji-picker/Inner.tsx b/web/app/components/base/emoji-picker/Inner.tsx
index 8d05967f33a..6fc4b67181b 100644
--- a/web/app/components/base/emoji-picker/Inner.tsx
+++ b/web/app/components/base/emoji-picker/Inner.tsx
@@ -101,7 +101,7 @@ const EmojiPickerInner: FC<IEmojiPickerInnerProps> = ({
</div>
<Divider className='my-3' />
- <div className="w-full flex-1 overflow-y-auto overflow-x-hidden px-3">
+ <div className="max-h-[200px] w-full overflow-y-auto overflow-x-hidden px-3">
{isSearching && <>
<div key={'category-search'} className='flex flex-col'>
<p className='system-xs-medium-uppercase mb-1 text-text-primary'>Search</p>
@@ -170,7 +170,7 @@ const EmojiPickerInner: FC<IEmojiPickerInnerProps> = ({
'flex h-8 w-8 items-center justify-center rounded-lg p-1',
)
} style={{ background: color }}>
- {selectedEmoji !== '' && <em-emoji id={selectedEmoji} />}
+ {selectedEmoji !== '' && <em-emoji id={selectedEmoji} />}
</div>
</div>
})}