#preview
1 messages · Page 1 of 1 (latest)
preview
Howdy. Seems this doesn't like threads so much, any ideas?
this no longer works
??? works fine tho...
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-dm/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/channel-list/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css");
looks like the @import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css"); the member-list, has prob on channel/forum channel .. but on thread channel the member-list it works fine..
sorry for late response. i've fixed it.
I've unset the width of an empty new child div from memberlist which was from the new discord css update.
/* Fix new child div from memberlist that has its own width which brokes the previous commit */
*:has([class*="membersWrap-"]:not(:focus-within)) [class*="membersListNotices-"]:not(:has(>div>div)) {
width: unset;
}
You don't have to copy the code as it was already on the new commit.
https://github.com/lazuee/css-snippets/blob/main/discord/member-list/import.css#L62-L65
eyy,. sorry for late response
i already fix it
discord update the minified css. name- to name__
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-dm/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/channel-list/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css");
just tried it
actually so cool
thank you
kinda not related but is there a css snippet for getting rid of the server list too
this is so clean and awesome the server list crowds it up
Would you consider adding a variable to switch :focus-within to :hover? It seems to work perfectly fine with hover just from a find-replace.
@velvet obsidianclicking the memberlist in a groupchat doesnt expand the list but works fine when you expand servers member list
i can't seem to locate where's the problem..
new update: new variables
Variables
Default state
--member-list-type: specifies the type of the member list, eitherhoverorfocus.--member-list-width: sets the default width of the member list.--member-list-transition: defines the default transition duration for the member list.
Active state
--member-list-active-width: sets the width of the member list when it is active.--member-list-active-transition: defines the transition duration for the member list when it is active.
@import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css");
:root {
--member-list-type: "focus"; /* --member-list-type: "hover"; */
--member-list-width: 70px;
--member-list-transition: 200ms;
--member-list-active-width: 240px;
--member-list-active-transition: 800ms;
}
guhhh
im having an issue where it opens more in a server with a lot of members than a group chat
ignore the 50 ms opening tansition time i set
(i dont think thats the issue)
correction: any server
i think it scales based on how many people in the member list are showing?? its out less for those who are in this thread, but still goes out more than the group chat im in
check your css, some of your snippet is overriding the member-list width.
:root {
--variable-that-may-override-active-memberlist-width: var(--member-list-active-width);
}
check the root variables of the theme you're using.
i removed and added all my imports other than the member list one, and also added and removed my only theme, and ive still had the same problem, i wanted my member list active width to be about 400px rather than what it was before so i changed --member-list-active-width to 400px
https://limey-is.me/dN13Hu5eBxeb/direct
this is with all snippets and themes disabled except this snippet
screenshot?
ill do ya one better, heres a demonstration both with all extra snippets and themes, and one without extra snippets and without themes. my quick css editor in the one without extra snippets looks the exact same as the screenshot above your message :3
but heres another anyway!!
https://limey-is.me/im6w82sIu4ZN/direct
ohh,. you mean this?
i have it set to 400px but its opening width is inconsistent, and i think the more users in the member list, the m ore width to the members list is added, on top of it seemingly being different for group dms
but yes!
@sand moss fixed,.
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-dm/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/channel-list/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css");
:root {
--list-type: "hover";
/* --list-type: "focus"; */
--list-transition: 200ms;
--list-active-transition: 800ms;
--sidebar-dm-type: var(--list-type);
--sidebar-dm-transition: var(--list-transition);
--sidebar-dm-active-transition: var(--list-active-transition);
--sidebar-dm-width: 68px;
--sidebar-dm-active-width: 245px;
--sidebar-dm-display-header: "false";
--sidebar-dm-display-search: "false";
--sidebar-channel-type: var(--list-type);
--sidebar-channel-transition: var(--list-transition);
--sidebar-channel-active-transition: var(--list-active-transition);
--sidebar-channel-width: 68px;
--sidebar-channel-icon-size: 22px;
--sidebar-channel-active-width: 245px;
--member-list-type: var(--list-type);
--member-list-transition: var(--list-transition);
--member-list-active-transition: var(--list-active-transition);
--member-list-width: 70px;
--member-list-active-width: 245px;
}
THANK YOU!!!! pretty much everything except servers with one person works PERFECTLY :DD
the only thing thats kinda buggy with servers with one member is that it kinda stutters and flashes, however it doesnt do this anywhere else to my knowledge
thought id let you know, just in case people complain in the future or something. maybe itd be helpful? i set the active width to 400px like before, but issue still prersists with the default 245px. (gif below) but other that, again, everything works flawlessly, thank you again!
https://limey-is.me/TaO0lQTuMPae
extra information about the bug with servers who have only one member:
it bounces around less when the window is at half width like i usually have it, however, still flickers and slitly jitters + acts a bit funny
maybe because of hover,. i'm using focus-within(--list-type: "focus") didn't get that bug.
it does happen with hover, yeah. with focus there is no issue