Skip to content

Commit

Permalink
more visible copy confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
tim0120 committed Nov 23, 2024
1 parent 671145c commit a621183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/projects/EmojiSearch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function EmojiSearch({
{!isLoading && !error && results.length > 0 && (
<InteractiveEmojiArray emojiList={results} onEmojiClick={handleEmojiClick} />
)}
<div className={`fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-emerald-400 text-white text-center p-2 rounded-md transition-opacity duration-300 ${popupVisible ? 'opacity-50' : 'opacity-0'}`}>
<div className={`fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-emerald-500 text-white text-center p-2 rounded-md transition-opacity duration-300 ${popupVisible ? 'opacity-90' : 'opacity-0'}`}>
Emoji copied!
</div>
</div>
Expand Down

0 comments on commit a621183

Please sign in to comment.