#RadialStatus needs to update the classes
1 messages · Page 1 of 1 (latest)
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
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.
button[aria-label*="Send a gift"] {
display: none;
}
``` works too :3
Yeah but that relies on people having their client language set to English
OH, you're right
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
yes
.