ClearVision / ClearVision-v6

Highly customizable theme for BetterDiscord.
https://clearvision.github.io/
Apache License 2.0
393 stars 1.89k forks source link

[Bug Report] Member width is not variable even though MemberList width is #191

Closed Neshura87 closed 8 months ago

Neshura87 commented 8 months ago

Did You Search Other Issues?

Does This Bug Show On The Default Theme?

Describe The Bug

When increasing the variable members-width the text in the members list still cuts off as if the list width had not been altered.

Reproduction Steps

1. Have overflowing text in member list
2. Increase variable `members-width`
3. Overflowing text is still present

Screenshots

Default: Screenshot_20240324_154356

members-width set to 400px: Screenshot_20240324_154436

Additional Context

Adding the following to the custom CSS section helped me fix the problem but as I'm unfamiliar with discord css there might be unintended consequences I have not yet found:

.member_aa4760 {
    max-width: calc(var(--members-width) - 16px);
}

16px is the default difference between the width of the discord member list and the width of an individual member entry so I simply copied it over

NyxIsBad commented 8 months ago

thanks for the bug report! sorry for the late response, i rarely check gh. ill address this

NyxIsBad commented 8 months ago

I pushed a fix, reload your theme and check if it's fine. closing this issue, if you need more help join the discord server and ping me since I just don't check gh enough