fix: emoji picker uses full panel width with no dead space

Remove width: 100% !important override that fought emoji-mart's shadow
DOM grid. Container now uses w-fit to wrap content tightly. GIF picker
gets explicit w-[390px] to maintain its own width independently.
This commit is contained in:
Jannis Braun
2026-03-15 02:39:52 +01:00
parent 42266ff963
commit 6701ccc9b4
3 changed files with 3 additions and 16 deletions
@@ -79,7 +79,7 @@ export function GifPicker({ onGifSelect }: GifPickerProps) {
};
return (
<div className="flex flex-col h-[390px]" onKeyDown={handleKeyDown}>
<div className="flex flex-col h-[390px] w-[390px]" onKeyDown={handleKeyDown}>
{/* Search */}
<div className="px-3 pt-2 pb-1.5">
<input