From 3cf027fc567c343f5523b7b08476a467d5248b37 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 3 Nov 2022 14:04:29 +0100 Subject: [PATCH] fix: button default style --- src/AButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AButton.cpp b/src/AButton.cpp index 2952b0d..103cf6c 100644 --- a/src/AButton.cpp +++ b/src/AButton.cpp @@ -21,7 +21,7 @@ AButton::AButton(const Json::Value& config, const std::string& name, const std:: /* https://github.com/Alexays/Waybar/issues/1731 */ auto css = Gtk::CssProvider::create(); - css->load_from_data("button { min-width: 0; }"); + css->load_from_data("button { all: unset; min-width: 0; }"); button_.get_style_context()->add_provider(css, GTK_STYLE_PROVIDER_PRIORITY_USER); if (!id.empty()) {