N
Novu4w ago
rahul

How do I style the notification counter in web component?

How do I style the notification counter in web component?
43 Replies
Pawan Jain
Pawan Jain4w ago
@rahul Can you please share screenshot what you want to style?
rahul
rahul4w ago
Notification counter circle is covering the bell
No description
rahul
rahul4w ago
@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 ?
Novu_Bot
Novu_Bot4w ago
@rahul, you just advanced to level 1!
empe
empe4w ago
@rahul What notification center are you using? Is it the new <Inbox /> or the old notification center?
rahul
rahul4w ago
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
empe
empe4w ago
What do you want to change? The icon it self? Or just the way it looks?
rahul
rahul4w ago
Currently I want to change the red dot size I want to make it smaller
empe
empe4w ago
const styles = {
unseenBadge: {
root: {
color: 'white',
background: 'red',
borderRadius: '50%',
padding: '2px 6px',
fontSize: '12px'
}
}
};
const styles = {
unseenBadge: {
root: {
color: 'white',
background: 'red',
borderRadius: '50%',
padding: '2px 6px',
fontSize: '12px'
}
}
};
Tell me if it helps
rahul
rahul4w ago
No, it didn't work
rahul
rahul4w ago
which component should i use in this?
empe
empe4w ago
I think it's the unseenBadge Can you share all your notification center design code?
empe
empe4w ago
Tell me how it's going
Want results from more Discord servers?
Add your server