Skip to content

Instantly share code, notes, and snippets.

@cs-deathmatch
Created March 26, 2025 23:59
Show Gist options
  • Select an option

  • Save cs-deathmatch/e6a8dbf5013624da9698326416251197 to your computer and use it in GitHub Desktop.

Select an option

Save cs-deathmatch/e6a8dbf5013624da9698326416251197 to your computer and use it in GitHub Desktop.
Restore discord server list size
/* Install vencord if you haven't already https://vencord.dev/ */
/* Go to settings > Themes > Edit QuickCSS */
/* Paste the contents of this file into the box that appears, then close it */
/* Made by my friend, i just shamelessly stole their css. check them out at https://ranid.space/ */
:root {
--custom-guild-list-padding: 8px; /* set this to whatever u want */
--new-size: 48; /* change this value, size in pixels */
--guildbar-avatar-size: calc(var(--new-size) * 1px);
--guildbar-folder-size: calc(var(--new-size) * 1px);
}
/* set sizes of images and icons back to the original size so i can scale them up */
div[class^="wrapper"] > svg > foreignObject > div[class^="wrapper"],
div[class^="wrapper"] > svg > foreignObject > div[class^="wrapper"] img,
div[class^="listItemWrapper"] > div[class^="wrapper"] > svg > foreignObject > div
{
width: 40px;
height: 40px;
}
/* scale up the svg because it has a stinky ass viewBox on it which crops things out */
div[class^="blobContainer"] > div[class^="wrapper"] > svg,
div[class^="listItemWrapper"] > div[class^="wrapper"] > svg {
transform-origin: 0px 0px;
transform: scale(calc(var(--new-size)/40));
}
/* fix folder height being hard coded for some reason??? */
div[class^="wrapper"] > ul[class^="stack"] {
height: fit-content !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment