#CompactSidebarButtons
1 messages · Page 1 of 1 (latest)
too bad this doesn't work to well with compact title bar snippet
wasnt aware of that snippet, but i do use something that achieves the same thing. you can see if it works for you:
[class^="content"] {
[class^="sidebar"] {
margin-top: -3.3vh;
border-top: 0px;
padding-top: var(--custom-app-top-bar-height);
}
[aria-label="Servers sidebar"] {
--custom-app-panels-height: 20px;
padding-top: 1vh;
}
}
[class^="base"] {
margin-top: calc(var(--custom-app-top-bar-height) * -1);
}
thats wha ti use
had to upload it as a file too many chars
maybe that snippet is out of date? i tried it and removed the rest of my quickcss, and it didnt work just by itself
id recommend either checking back with that snippet bcs discord updates tend to really mess with css selectors, or try my little block of code and see whichever works best for you
For me it works when I change language to 'English US'
(Just to clarify it doesn't work in other languages)
Liked it
update: the new discord update adds this useless activity button, and unfortunately it uses the exact same structure as the friends button, so i need to :has() to select it for now. since this is brand new, im not gonna use something like :nth-child() until this update rolls out to more people
also merged a pull request to fix this issue
sadly, as cool as this snippet is, it's giving me some REAL bad performance issues :(
probably the desktop land and learn experiment
any idea if this shows when new cosmetics are in the shop?
it does not, that tag has been completely removed for this
this gives an incredible loss in performance for whatever reason.
:has maybe
ty looks great :)
@shrewd roost this sorry i dislike getting DM's
@shrewd roost you need the read all plugin enabled and you can copy the css i have for it from here
https://github.com/madmaxgrey/Vertical-Spacious-Refresh/blob/main/vencord/Vertical-Spacious-Refresh.css#L223-L262
Is this just a button to read all messages?
yeah
thx
this compact buttons is nice an all but it could do without the :has selector makes discord lag too much
if anyone knows what experiment this is, please lmk
.scroller__99e7c[data-list-id^="private-channels-uid_"] {
scrollbar-width: 0;
scrollbar-color: transparent;
>.content_d125d2 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: space-evenly;
>div:not([class]):first-child,
>div[role="button"],
>.privateChannelsHeaderContainer__99e7c,
>.channel__972a0.dm__972a0 {
width: 100%;
}
>.friendsButtonContainer_e6b769,
>div:nth-of-type(3),
>.channel__972a0:not(.dm__972a0),
>.wrapper_ebee1d {
margin: 0;
}
.channel__972a0:not(.dm__972a0) {
margin: 0 4px;
>.linkButton__972a0 >.link__972a0 {
padding: 8px 10px;
>.avatarWithText__972a0 {
>.avatar__20a53 {
margin: 0;
}
>.content__20a53 {
display: none;
}
}
}
}
}
}```
this works fine for now, but I can't style that new button yet since I don't have it
I'm not sure that this uses has selectors at all
it does
2025-10-desktop-land-and-learn [Variant 1]
also nicely written code, this one is goated and works for all languages
Thank you, I'll check later if it works or if I have to edit the snippet with the experiment in mind
is there a way to force these onto one line?
Reducing the padding, probably
And ngl, I didn't think of the messages requests button
yea im trying to reduce the padding
I don't have any 
it's kinda working
works fine with the extra button, no need to change anything
remember about button with dms from unknown ppl tho
^
ah lmao rip
i always keep those 4 scammers which ping me in dm and surely dont wanna offer any art submission or other stuff
just to have this
sure
damn, I wish they would DM me, I would have so much stuff to send them
hm, I'm pondering whether to make the icon red and remove the ping
it's not like you would have that icon without a ping anyway
oh damn nvm now its 5 buddies hanging out there lol
oh nice u got it
hmm u could technically make it smaller and move it top right on the icon
I hope they cancel this land and learn bs tho
Rn it's 10px side padding, maybe 7-8px works
Same, it's useless and kinda bad to look at
it feels like extra mobile tabs that no one will click, while u will simply only have empty space in dms xd
they gotta learn that sometimes its good as it is
I'd say I'm quite happy with the result
.scroller__99e7c[data-list-id^="private-channels-uid_"] {
scrollbar-width: 0;
scrollbar-color: transparent;
>.content_d125d2 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: space-evenly;
>div:not([class]):first-child,
>div[role="button"],
>.privateChannelsHeaderContainer__99e7c,
>.channel__972a0.dm__972a0 {
width: 100%;
}
>.friendsButtonContainer_e6b769,
>div:nth-of-type(3),
>.channel__972a0:not(.dm__972a0),
>.wrapper_ebee1d {
margin: 0;
}
.channel__972a0:not(.dm__972a0) {
margin: 0 4px;
>.linkButton__972a0 >.link__972a0 {
padding: 6px;
>.avatarWithText__972a0 {
padding: 0;
>.avatar__20a53 {
margin: 0;
}
>.content__20a53 {
display: none;
}
}
>.numberBadge__2b1f5 {
position: absolute;
left: 18px;
bottom: 3px;
transform: scale(0.7);
}
}
}
}
}```
someone here should include the search thing at the top in the button list
oh is that it?
is the loss in performance fixed with this version?
There are no :has() selectors so it should be
okay perfect, tysm!
yeah it does not cause lag for me, unlike the original snippet

perfect, was waiting for this to be fixed since i originally reported the loss in performance. ty krammeth your work is always high quality 
Thanks
the :has() selector portion was replaced with an :nth-child() selector since around a week ago
forgor to give an update in the thread
Will work on it once I get the ad as well
I can give those if it helps u
updated with the fix for this
.scroller__99e7c[data-list-id^="private-channels-uid_"] {
scrollbar-width: 0;
scrollbar-color: transparent;
>.content_d125d2 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: space-evenly;
>div:not([class]):first-child,
>div[role="button"],
>.privateChannelsHeaderContainer__99e7c,
>.channel__972a0.dm__972a0 {
width: 100%;
}
>.friendsButtonContainer_e6b769,
>div:nth-of-type(3),
>.channel__972a0:not(.dm__972a0),
>.wrapper_ebee1d {
margin: 0;
}
.channel__972a0:not(.dm__972a0) {
margin: 0 4px;
>.linkButton__972a0 >.link__972a0 {
padding: 6px;
>.avatarWithText__972a0 {
padding: 0;
>.avatar__20a53 {
margin: 0;
}
>.content__20a53 {
display: none;
}
}
>.numberBadge__2b1f5 {
position: absolute;
left: 17.5px;
bottom: 0;
transform: scale(0.7);
}
>.newBadge__4ed1a {
position: absolute;
left: -3px;
bottom: 0;
transform: scale(0.7);
}
}
}
}
}```
peak
Just noticed a small detail
since I made the buttons smaller to make them fit in one single row, the red badges aren't vertically aligned properly anymore
I'll fix it later when I get back to my laptop
fixed, my ocd can now sleep tight
Dang, this is nice. Thanks for this.
How did you manage to break it Will?
weird issue with how I put it into the QuickCSS, some reshuffling fixed it lol
deleted the message since it was no longer an issue
is there a way to get it centered?
and like, basically center itself automatically
i did it by increasing the horizontal padding
i increased this value
you can also do this but that will center more than just the buttons
noted, how well does this work if for example a dm request gets sent to me?
does it make them adjust into a row of 5, or does it just shift them
hmm i don't really know how dm requests work but if it really would add a 5th button, it would go on a second row cuz it wouldn't fit on the first one due to the padding
maybe someone else has a better answer
so for example if i increase the horizonal padding too much, the buttons will go on multiple rows
is it ok for you to dm me rn to check?
sure

turns out this completely fixes the issue lol
I have instinctively ignored it because it seemed irrelevant to the issue
yeah that one uses justify-content: space-evenly; instead of justify-content: left;
it's also more optimized, the original one is laggy as heck

is there a fix for this?
this seems to work well.
Should I post my version on the snippets channel?
yeah cuz otherwise people might keep using the unoptimized version
would be nice
ideally as an import if possible
Alright, I'll make a post when I get back to my laptop later 
#🎨-css-snippets message
there you go
