elementary / stylesheet

The GTK Stylesheet for elementary OS
https://elementary.io
GNU General Public License v3.0
321 stars 74 forks source link

.menuitem.destructive-action doesn't render properly #1275

Closed danirabbit closed 5 months ago

danirabbit commented 8 months ago

What Happened?

button.menuitem.destructive-action has unwanted frames and text shadow etc

Steps to Reproduce

Create a button.menuitem.destructive-action in a popover.menu

Expected Behavior

Should be styled the same as this workaround:

        var remove_button_label = new Gtk.Label (_("Remove")) {
            xalign = 0
        };
        // FIXME: 
        remove_button_label.add_css_class (Granite.STYLE_CLASS_ACCENT);
        remove_button_label.add_css_class ("red");

        var remove_button = new Gtk.Button () {
            child = remove_button_label
        };
        remove_button.add_css_class (Granite.STYLE_CLASS_MENUITEM);

OS Version

7.x (Horus)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

danirabbit commented 5 months ago

Fixed in e1b9d7e