#CSS to remove gift button?

1 messages · Page 1 of 1 (latest)

thorny schooner
#

i have this css here that removes the gift button, and gift button only. But just now it stop working, all other css working fine so im guessing discord made a change in one of the class names or something

#
/* Remove Gift Button */
#app-mount > div.appAsidePanelWrapper-ev4hlp > div.notAppAsidePanel-3yzkgB > div.app-3xd6d0 > div > div.layers-OrUESM.layers-1YQhyW > div > div > div > div > div.chat-2ZfjoI > div.content-1jQy2l > main > form > div > div.scrollableContainer-15eg7h.webkit-QgSAqd > div > div.buttons-uaqb-5 > button {
    display: none !important
}
#

what i have which is not working anymore?

rocky echo
#

you can just use aria label or exact svg for this no?

#
.buttons-uaqb-5 button:has([d^="M16.886 7.999H20C21.104 7.999 22 8.896 22 9.999V11.999H2V9.999C2 8.896 2.897"]) {
    display: none;
}```
#

this for example

thorny schooner