DiscordStyles / Fluent

Brings the look of Windows 11 to Discord.
MIT License
273 stars 45 forks source link

Members sidebar shifted when using ServerFolders #93

Open maicol07 opened 1 year ago

maicol07 commented 1 year ago

Describe the bug

When ServerFolders and you open a folder in a new column, the right sidebar shifts over the window edge. This behaviour is not present in the default Discord theme.

To Reproduce

  1. Install Fluent and ServerFolders
  2. Ensure the "Move the servers from opened folder in an extra column" setting is enabled in ServerFolders settings.
  3. Make a server folder and see bug

Screenshots

Fluent Discord Default
Folder closed image image
Folder opened image image

Infomation (please complete the following information)

Discord channel: PTB
OS: Windows
Mod: BetterDiscord
Discord language: Italian

maicol07 commented 1 year ago

Temporary fix:

.content-Pph8t6:not(.closed-j55_T-) + .base-2jDfDU .content-1SgpWY {
    width: calc(100vw - var(--server-container) - var(--server-container));
}

.content-1SgpWY {
    transition: width 0.25s cubic-bezier(.44,1.04,1,1.01) !important;
}

New fix for Equicord BetterFolders:

nav.wrapper__216eb.guilds__2b93a + div:has(> nav) + .base_c0676e .content__76dcf {
    width: calc(100vw - var(--server-container) - var(--server-container));
}

.content__76dcf {
    transition: width 0.1s cubic-bezier(.44,1.04,1,1.01) !important;
}