BetterDiscordStuff icon indicating copy to clipboard operation
BetterDiscordStuff copied to clipboard

[ChannelDMs] Changes width with long usernames/statuses

Open ImDarkener opened this issue 3 years ago • 1 comments

The ChannelDms plugin doesn't like it when users put their life story in their status.

Schreenshot It seems the panel is upscaling to account for the size of a users status and username. Rather then just being the same width of the members list in the server. Which makes it very janky to switch between the two, or to just use the dm list.

ImDarkener avatar Feb 19 '22 06:02 ImDarkener

hello i resolved it but i dont know if it is what u want i have 2 options first is to change to one size not changing other is to give max size what u want ? if u want to have permanent size u need to add in line 287 width:your size in px so it should look like this ___CSS_LOADER_EXPORT___.push([module.id, ".ChannelDms-channelmembers-wrap{display:flex;flex-direction:column; width:224px}.ChannelDms-channelmembers-wrap .ChannelDms-channelmembers-header{text-transform:none;padding:10px 0;align-items:center;justify-content:center;font-family:var(--font-primary);border-bottom:thin solid var(--background-modifier-accent);--background-modifier-selected: var(--background-accent);background:var(--background-mobile-secondary)}.ChannelDms-channelmembers-wrap .container-2o3qEW{max-height:calc(100% - 45px)}", ""]);

and if u want have changing size but with max size u need to add max-width:your size in px so it should look like this ___CSS_LOADER_EXPORT___.push([module.id, ".ChannelDms-channelmembers-wrap{display:flex;flex-direction:column; max-width:224px}.ChannelDms-channelmembers-wrap .ChannelDms-channelmembers-header{text-transform:none;padding:10px 0;align-items:center;justify-content:center;font-family:var(--font-primary);border-bottom:thin solid var(--background-modifier-accent);--background-modifier-selected: var(--background-accent);background:var(--background-mobile-secondary)}.ChannelDms-channelmembers-wrap .container-2o3qEW{max-height:calc(100% - 45px)}", ""]);

Hadeik avatar Mar 06 '22 08:03 Hadeik