Skip to content

Instantly share code, notes, and snippets.

@SpaghettDev
Created March 30, 2025 15:27
Show Gist options
  • Save SpaghettDev/d102bf011881dd9d5921b2e2c1017b3b to your computer and use it in GitHub Desktop.
Save SpaghettDev/d102bf011881dd9d5921b2e2c1017b3b to your computer and use it in GitHub Desktop.
Fixes the cutoff members list after disabling the UI refresh experiment in Discord.
/* root vars pre-ui refresh */
:root {
--custom-guild-list-padding: min(var(--space-md));
--custom-guild-list-width: calc(var(--guildbar-avatar-size) + var(--custom-guild-list-padding) * 2);
--custom-guild-sidebar-width: 268px;
--custom-app-sidebar-target-width: calc(var(--custom-guild-sidebar-width) + var(--custom-guild-list-width));
--custom-rtc-account-height: 44px;
--custom-app-top-bar-height: calc(24px + var(--space-sm));
--custom-channel-header-height: var(--guildbar-avatar-size);
--custom-member-list-width: 240px;
--custom-channel-textarea-text-area-height: calc(44px + var(--space-xs));
--custom-chat-aligned-icon-offset: ((var(--chat-avatar-size) - var(--chat-input-icon-size)) / 2);
--custom-message-margin-horizontal: var(--space-md);
}
/* fix member list */
.container_c8ffbb {
border: none;
--custom-member-list-width: var(--custom-member-list-width);
}
/* fix titlebar height and width */
.subtitleContainer_f75fb0 {
display: grid;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment