How do I style the notification counter in web component?
How do I style the notification counter in web component?
43 Replies
@rahul
Can you please share screenshot what you want to style?
Notification counter circle is covering the bell
@Pawan Jain How to reduce its size
And also can we change the bell icon in web component? If yes, how to do it?
@Emil ?
@rahul, you just advanced to level 1!
@rahul What notification center are you using?
Is it the new <Inbox /> or the old notification center?
old one
bellButton: {
root: {
dot: {
width: '12px !important',
height: '12px !important'
},
svg: {
width: '20px !important',
height: '20px !important'
}
}
}
I have tried this but didn't work @Emil
What do you want to change? The icon it self? Or just the way it looks?
Currently I want to change the red dot size
I want to make it smaller
Tell me if it helps
No, it didn't work
which component should i use in this?
I think it's the
unseenBadge
Can you share all your notification center design code?I m trying in sandbox
https://codesandbox.io/p/sandbox/novu-web-component-esm-rltcr5?file=%2Findex.js
Tell me how it's going