Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emoji-picker-react style does not take effect #27

Open
waynecanfly opened this issue Sep 1, 2023 · 3 comments
Open

emoji-picker-react style does not take effect #27

waynecanfly opened this issue Sep 1, 2023 · 3 comments

Comments

@waynecanfly
Copy link

css code:.button-container {
display: flex;
align-items: center;
color: white;
gap: 1rem;
.emoji {
position: relative;
svg {
font-size: 1.5rem;
color: #ffff00c8;
cursor: pointer;
}
.emoji-picker-react {
position: absolute;
top: -350px;
background-color: #080420;
box-shadow: 0 5px 10px #9a86f3;
border-color: #9a86f3;
.emoji-scroll-wrapper::-webkit-scrollbar {
background-color: #080420;
width: 5px;
&-thumb {
background-color: #9a86f3;
}
}

@Vishesh1903
Copy link

did you find a solution i am still stuckkkk

@Rishabh242002
Copy link

css code:.button-container { display: flex; align-items: center; color: white; gap: 1rem; .emoji { position: relative; svg { font-size: 1.5rem; color: #ffff00c8; cursor: pointer; } .emoji-picker-react { position: absolute; top: -350px; background-color: #080420; box-shadow: 0 5px 10px #9a86f3; border-color: #9a86f3; .emoji-scroll-wrapper::-webkit-scrollbar { background-color: #080420; width: 5px; &-thumb { background-color: #9a86f3; } }

Did you find the solution for this ?

@Frederico03
Copy link

Changes may not take effect because the version is different. If you install the new version, it is necessary to use new names for CSS variables, such as 'emoji-picker-react' -> 'EmojiPickerReact.' You can find more details in the documentation. https://www.npmjs.com/package/emoji-picker-react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants