#DM icon grid
1 messages ยท Page 1 of 1 (latest)
that looks gooNEW
edit --dm-columns value to whatever
:root {
--dm-columns: 4;
}
[class^=privateChannels_] [class^=content_] {
display: grid;
height: unset !important;
grid-template-columns: repeat(var(--dm-columns), 1fr);
&> * {
overflow: hidden;
grid-column: 1 / calc(var(--dm-columns) + 1);
}
}
[class^=channel_]:has(
[href="/channels/@me"],
[href="/library"],
[href="/shop"],
[href="/store"],
[href="/family-center"],
[href="/message-requests"]
) {
grid-column: auto;
[class*="linkButton"] {
padding-right: 0;
}
[class*="link_"] {
justify-content: center;
gap: 0;
}
[class*="avatar_"] {
margin: 0;
width: unset;
}
[class*="avatarWithText_"] {
flex-grow: unset;
}
[class*="content_"] {
display: none;
}
}
original snippet kinda breaks with 5 buttons
not sure why i still have the family center thing
i have a different snippet to
that
i dont have message requests for some reason though
thx bro, this is so much better
I'm using it
How do you get this button to appear?
its a family center thing, idk how you enable it
but when they added it i never disabled it
oh theres a settings toggle for it
Ah, thank you!
bru
yo whats cut off ๐ญ๐ญ
LOL
that's not the reason it breaks, it's just that i forgot to include message requests in my selector because i disabled them
have to add it
how da flip
Will you be able to do this on the server side
yeah this is nicer
Yes pls do it for this too
i actually used to have some CSS to do something similar to this, but instead it was all in one line
I honestly considered almost making a plugin to put a simple div wrapper around those buttons
use salts version
yup
Idk, I'll maybe try to port my version to vanilla discord, since it works with any amount of "channels" before the "direct messages" label
as ven said, use the other version
oh alr
Something about the way it works now