#ping go up
1 messages · Page 1 of 1 (latest)
more testing and improvements welcome, this was painful to write and test and I'm tired
this is insane
i guess in order to not move entire folders up you would need js?
or i should just unfolder everything
no I did that on purpose, just take out the wrapper_
i meant like moving it to the absolute top even if its in a folder
that would require taking it out of the parent right
uhh not sure what you want but whatever it is I'm pretty sure it can be done
you mean you want servers inside folders sorted but keeping the folder in its original place
oh wait now I got what you meant
to make the server leave the folder and appear up top, yeah that can't be done in css
Would be cool to see this as a userplugin to facilitate bringing a server out of a folder when there are pings/unreads.
yeah the reason I wrote this was a plugin request https://github.com/Vencord/plugin-requests/issues/457 wanted to see how far I can get with css
Oh, I would give it a test and see if it works good for what I'm expecting but my ISP is having issues rn.
Does it sort server within a folder, say a folder with 4 servers 2 of which have unreads, would they both move to the top of that folder?
And does a folder containing a unread message also move up?
by default it moves the whole folder up and the server within the folder
sounds good
you can make it move the server to the top of the folder only but anything else probably cant be done with css
@late hare
yeah probably not
does it go back to it's place after ping is gone?
yes
any visual representation pls?
this snippet bork the Acryllic popups snippet #🎨-css-snippets message
just letting you know
it shouldn't
but if you put my snippet before theirs, it will break, because all @imports have to be at the top of any css file
oh yeah it works now ty
this seem to have broke
oh yeah probably, will fix tomorrow
Change this; (both of them)
[data-list-id="guildsnav"] > [class^=scroller_]
To this;
[data-list-id="guildsnav"] [class^=scroller_]
And it works again.
yeah I thought so too, noticed yesterday that another thing broke and an itemsContainer appeared in there
updated OP as well as online https://github.com/nvhhr/discordcss/blob/main/snippets/pingedserversfirst.theme.css
Not working
[data-list-id="guildsnav"] [class*=scroller_] > [aria-label], /*serverlist*/
[id^=folder-items-] /*folder*/
{ display: flex; /*order property needs flex*/
flex-direction: column; } /*fix layout*/
/*find servers and folders that have a number badge and force them up*/
[data-list-id="guildsnav"] [class*=scroller_] > [aria-label] :is([class^=listItem_],[class^=wrapper_]):has([class^=numberBadge_])
{ order: -1; }
got broken by the new discord update unfortunately
yeah I'll start fixing my snippets tomorrow
thanks in advance, and sorry for the bother
no bother, all my snippets are stuff I use too so I want them back just as much, just haven't had time to fix them yet but tomorrow I will
broken by recent update