#**Better Message Buttons**

1 messages ยท Page 1 of 1 (latest)

upbeat valve
#

this looks very cool

solid vessel
#

Thanks!

upbeat valve
#

its a shame tho, in some places there's a gap where there is no button

#

that's when hovering over my own messages

solid vessel
#

you can set display:none to a button, to make the count even.
e.g.

div[aria-label="Copy Message ID"] {
  display: none;
}

Like, I remove the translate plugin's button on my own messages with

li[data-is-self="true"] > div > div > div > div > div[aria-label="Translate"] {
  display: none;
}
upbeat valve
#

oh i see thank u

solid vessel
#

every one of these buttons is accessible via the right-click menu, so I've personally hidden several I don't use often (or don't want to misclick, like pin message)

midnight remnant
#

Why is it uneven for me?

solid vessel
#

just modify --msg-button-height to your QuickCSS

:root {
  --msg-solo-button-width: 36px;
  --msg-grid-button-padding: 32px;
  --msg-grid-columns: 2;
  --msg-button-height: 64px;
  --msg-button-border-radius: 8px;
  --msg-section-spacing: 12px;
}
solid vessel
#

uh, does this issue happen without any other themes enabled?

midnight remnant
#

You mean in quick CSS? Yes, it still happens if it's by itself. The background color is from a native discord nitro theme

#

Seems to be fine with this set to 1 --msg-grid-columns: 1;.
I messed around with the variables and I kinda like this pepeHmm

solid vessel
midnight remnant
#

It something to do with a Vencord plugin. I turned them all off here

#

Its caused by disabling the "Reaction Frequency Algorithms" experiment.

#

It fixed the height difference for me too

solid vessel
#

alright awesome

#

I use the ShowAllMessageButtons plugin, so I never see any emote reactions

proven grail
#

here's some css to remove the frecency reactions

[class^=hoverBarButton_]:has(>div>.emoji) {
  display: none;
}```
solid vessel
#

ah, maybe! I haven't messed with the visual refresh much at all

midnight remnant
#

Do you have this reaction experiment turned off? I had the same issue with it disabled

marsh fractal
#

The background color of replies and retweets is not transparent.

loud hatch
#

balls

marsh fractal
#

I changed the css

pliant glen
#

very cool but sadly doesnt work on languages other than english.. could it be done without aria labels?

solid vessel
#

I might turn this into a plugin - would allow for better customization and would be language-agnostic

proven grail
clear parrot
#

unfortunately, i realized that this can and will overlap with text in a way that you can barely (if at all) click it ๐Ÿ˜”

solid vessel
# clear parrot unfortunately, i realized that this can and will overlap with text in a way that...

alright, I pushed an update to GitHub that added a variable --msg-offset-Y that allows for changing the vertical position of the message buttons.

:root {
  --msg-offset-Y: 0px; /* Change this! */
}

It might take a bit to cache, so here's the CSS itself:

div[class^="buttonsInner_"] {
  transform: translateX(calc(((var(--msg-section-spacing) / 2) + var(--msg-solo-button-width)) * -1)) translateY(calc(var(--msg-offset-Y) * -1));
}
clear parrot
clear parrot
#

figured out the issue actually, the new code doesn't work when holding the shift key or if you have the ShowAllMessagesButtons plugin enabled

dusky thicket
#

test

#

sadly, its stop working for me ;(

fluid garden
#

For me it does not work either ๐Ÿ˜ฆ

round brook
#

how do if fix it? it only shows this

#
/* round messages on hovering, replies, and mentions */
:root {
  --round-messages-radius: 8px;
}
[class*=cozyMessage] {
    margin-left: 4px;
    border-radius: var(--round-messages-radius);
}
[class*=cozyMessage]:before {
  width: 4px;
  height: calc(100% - 1.5*var(--round-messages-radius));
  align-self: center;
  border-radius: 2px;
  margin-left: calc(0.5*var(--round-messages-radius));
}

@import url('https://ukriu.github.io/cssCord/Other/gradientDM.css');
@import url('https://ukriu.github.io/cssCord/Other/gradientML.css');
:root {
    --gDM-online: linear-gradient(to right, rgb(68, 105, 68) , transparent);
    --gDM-offline: linear-gradient(to right, rgb(66, 66, 66) , transparent);
    --gDM-dnd: linear-gradient(to right, rgb(130,70,70) , transparent);
    --gDM-idle: linear-gradient(to right, rgb(135, 105, 75) , transparent);
    --gDM-streaming: linear-gradient(to right, rgb(63, 33, 88) , transparent);
    --gDM-border-radius: 12px;
}

@import url("https://raw.githubusercontent.com/Andrew6rant/Discord-plugins-and-themes/refs/heads/main/BetterMessageButtons.theme.css");
#

most of it is other quickcss stuff

#

i have no themes enabled

#

i have no plugins that should be affecting this

proven grail
round brook
#

thanks!

tough lake
#

any idea on what could be causing this?

proven grail
#

is reply there normally?

wintry summit
#

nvm mind got it

#

added background: transparent;

wintry summit
#

make it disappear

marsh fractal
#

Can you provide the code?

marsh fractal
#

How did you put the retweet in the box?

marsh fractal
wintry summit
#

yuo mean the forward

#

you might be using the alternate version

wintry summit
marsh fractal
#

okey,ty

wintry summit
tough lake
proven grail
tough lake
#

i disabled my theme to check if it was that but no change

proven grail
#

well by theme i meant all your other css

tough lake
#

ah

#

was definitely something i had, just removed everything else and it started working

proven grail
#

try doing a binary search
delete half of your css, if it works, undo it and delete half of what you just deleted, if it still doesn't work delete the other half
and repeat

tough lake
#

will do!

icy slate
#

how can i remove the reaction (from right click) appreciate the help

proven grail
icy slate
proven grail
bold maple
#

this doesnt work

#

sorry caps lock

proven grail
#

(it should like this without this css snippet active)

bold maple
#

this is what it looks like rn

proven grail
#

that looks right

bold maple
#

i have the css snip active in my css thing

#

other snips work

#

but this one doesnt

#

and ive restarted a few times

proven grail
bold maple
#

yep

proven grail
#

can you send a screenshot of it in your quickcss

bold maple
#

i was gonna send my file directly

#

of what i have

proven grail
#

that works too

bold maple
proven grail
#

the imports have to go at the top

bold maple
#

ive tried with that too

#

does it have to be

#

above root too?

proven grail
#

yeah

bold maple
#

OHH

#

ok

proven grail
#

very top

bold maple
#

ahh now it works

#

thank you

#

i havent done web dev in like 3 years and it shows

stoic wave
#

the buttons in the middle don't have the same background color
also how can I remove the suggested reactions there

#

I want it to only be like this with the middle panel having the same background color

stoic wave
#

I solved the reactions issue but I still can't figure out a way to change the background color

stoic wave
#

solved it by

.visual-refresh .wrapper_f7ecac {
  background-color: #000000;
}
stoic wave
empty vector
#

the theme just stopped working

empty vector
#

nevermind, i just disabled it

empty vector
#

this snippet just became kinda broken lol

bold maple
#

yeah its broken

wild elbow
#

yeah, broken for me too