#RadialStatus needs to update the classes

1 messages · Page 1 of 1 (latest)

copper horizon
#

cant find the original post for this here so i had to make new thread

#

but many css snippets need to update their classes after the newest vencord update

thick plinth
#

If people wanted more robust snippets they'd opt to use things like [class^=whateverThing] or [class*=whateverThing] in tandem with combinators like + or >.

#

I have no idea if this is encouraged or good practice but I wrote this to hide the gift button in the message bar.

[class^="textArea"] + [class^="buttons"] > button[class*="lookBlank"] {
    display: none !important;
}

My goal is to be both resistant from discord updates breaking it while also not removing buttons which may have been added by plugins.

narrow sable
thick plinth
narrow sable
#

OH, you're right

thick plinth
#

Wherever I can I try to avoid using aria label

#

Also in your example you don't need the asterisk before the equals because you've supplied the entirety of the aria label for English already

narrow sable
#

yes

copper horizon
#

.