#**Better Message Buttons**
1 messages ยท Page 1 of 1 (latest)
Thanks!
its a shame tho, in some places there's a gap where there is no button
that's when hovering over my own messages
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;
}
oh i see thank u
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)
Why is it uneven for me?
try it now, I've updated the snippet to use relative variables instead of hardcoded values
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;
}
New issue lol
uh, does this issue happen without any other themes enabled?
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 
I've been burned by the native Nitro themes, haha. I'm glad you like 1 column layout, but I'm just curious if the issue appears without them
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
alright awesome
I use the ShowAllMessageButtons plugin, so I never see any emote reactions
here's some css to remove the frecency reactions
[class^=hoverBarButton_]:has(>div>.emoji) {
display: none;
}```
ah, maybe! I haven't messed with the visual refresh much at all
Do you have this reaction experiment turned off? I had the same issue with it disabled
The background color of replies and retweets is not transparent.
balls
so sad..
I changed the css
very cool but sadly doesnt work on languages other than english.. could it be done without aria labels?
It could be done, but it would be less performant (some of these selectors are tricky to grab without aria-label).
I might turn this into a plugin - would allow for better customization and would be language-agnostic
you can just change it to whatever it's called in your language
i could
unfortunately, i realized that this can and will overlap with text in a way that you can barely (if at all) click it ๐
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));
}
thanks for the quick reply but i think my css is having an aneurysm
(some bits of it break no matter where i paste that code in~~, surely not because i am the kind of person who copies and pastes css code in an unorganized manner~~)
figured out the issue actually, the new code doesn't work when holding the shift key or if you have the ShowAllMessagesButtons plugin enabled
For me it does not work either ๐ฆ
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
@import needs to be at the top
thanks!
any idea on what could be causing this?
is reply there normally?
mind sharing :>
nvm mind got it
added background: transparent;
Can you provide the code?
How did you put the retweet in the box?
Mine looks like this
okey,ty
#1304647342284214282 message
used this and grants snippet to kind of patch
without this snippet? yes
odd
must be a theme conflict of some kind
it's probably some of the other css i have
i disabled my theme to check if it was that but no change
well by theme i meant all your other css
ah
was definitely something i had, just removed everything else and it started working
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
will do!
how can i remove the reaction (from right click) appreciate the help
That isn't related to this snippet, but here
[class^=wrapper_]:has(>#message-quickreact-0) {
display: none;
}```
ah sry.
but i think it didnt work for some reason. still there. ><
lets move this to #๐จ-theme-development
make sure you have the reaction frecency experiment set to treatment 3 (i think 4 works too?)
(it should like this without this css snippet active)
whaa where do i fidn this
this is what it looks like rn
that looks right
i have the css snip active in my css thing
other snips work
but this one doesnt
and ive restarted a few times
this is with the snippet?
yep
can you send a screenshot of it in your quickcss
that works too
the imports have to go at the top
yeah
very top
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
I solved the reactions issue but I still can't figure out a way to change the background color
solved it by
.visual-refresh .wrapper_f7ecac {
background-color: #000000;
}
this doesn't work for messages sent by me
the theme just stopped working
nevermind, i just disabled it
this snippet just became kinda broken lol
yeah its broken
yeah, broken for me too