Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ChannelDMs] Changes width with long usernames/statuses #154

Open
ImDarkener opened this issue Feb 19, 2022 · 1 comment
Open

[ChannelDMs] Changes width with long usernames/statuses #154

ImDarkener opened this issue Feb 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ImDarkener
Copy link

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.

@Hadeik
Copy link

Hadeik commented Mar 6, 2022

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)}", ""]);

@domi-btnr domi-btnr added the bug Something isn't working label Nov 11, 2022
@domi-btnr domi-btnr changed the title The ChannelDms plugin scales weirdly with long statuses and usernames [ChannelDMs] Changes width with long usernames/statuses Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants