JakeStanger / ironbar

Customisable Wayland gtk bar written in Rust.
https://crates.io/crates/ironbar
MIT License
560 stars 47 forks source link

[Notifications] Incorrect CSS selector in docs #728

Open Humorist2601 opened 3 weeks ago

Humorist2601 commented 3 weeks ago

Hello

Recently tried you bar and I am loving it. Just one thing. I have tried customizing the notification button using following css

.notifications {
  border-radius: 0;
}

But it is still showing the border radius. Any help

JakeStanger commented 2 weeks ago

I'm not sure why that wouldn't work. It may be a specificity issue. Try specifying it's the button you're after:

button.notifications {
  border-radius: 0;
}

If still no luck, let me know and I'll give it a go as soon as I can.

Humorist2601 commented 2 weeks ago

Hello, I tried using different selectors but the one that actually worked was .notifications button

I think we can close this issue

JakeStanger commented 2 weeks ago

Glad you found a working solution. I'm going to re-open and re-label as a docs issue.