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

[Float] Chat Disappears Behind Channels #46

Open
sabxtrax opened this issue Dec 14, 2024 · 8 comments
Open

[Float] Chat Disappears Behind Channels #46

sabxtrax opened this issue Dec 14, 2024 · 8 comments

Comments

@sabxtrax
Copy link

I don't even know how to describe this issue lmao but I disabled any extensions that might've broken and it still gave me this issue.

Recording.2024-12-14.105633.mp4
@txkyel
Copy link

txkyel commented Dec 17, 2024

I found the following rule which seems to interfere with the theme. Disabling it with devtools seems to fix the problem.

html:not(.visual-refresh) .sidebar_a4d4d9:not(.hidden_a4d4d9) {
    width: 240px !important;
}

I'm assuming that adding !important to this rule might solve the issue. nvm it looks like the offending rule has priority

@VANANA-R0TAT3
Copy link

VANANA-R0TAT3 commented Dec 19, 2024

I found the following rule which seems to interfere with the theme. Disabling it with devtools seems to fix the problem.

html:not(.visual-refresh) .sidebar_a4d4d9:not(.hidden_a4d4d9) {
    width: 240px !important;
}

I'm assuming that adding !important to this rule might solve the issue. nvm it looks like the offending rule has priority

heres the fix for anyone struggling to figure out how to disable this,
press ctrl+shift+i and it should open the console up
click the little arrows until you get to the "<div data-collapsed="false" class="sidebar_a4d4d9">" bar, type in "html" in the filters bar to find the code thats in the above reply, then just unclick the checkmark at "width"

2024-12-17.20-15-30.mp4

@MaddoxCH
Copy link

MaddoxCH commented Dec 19, 2024

Hello guys, you can simply add these lines in your custom css settings in betterdiscord:

html:not(.visual-refresh) div .sidebar_a4d4d9:not(.hidden_a4d4d9) {
    width: unset !important;
}

Works like a charm for me :)

@VANANA-R0TAT3
Copy link

Hello guys, you can simply add these lines in your custom css settings in betterdiscord:

html:not(.visual-refresh) div .sidebar_a4d4d9:not(.hidden_a4d4d9) {
    width: unset !important;
}

Works like a charm for me :)

omg this is so much easier, tysm 😭

@akkini1
Copy link

akkini1 commented Dec 26, 2024

Hello peeps, really happy that this solution exists, but it isn't flawless, somehow it doesn't play nicely on vencord with the spotify controls plugin (i discovered that this also happens with channel names of excessive length), seems to just make the sidebar the width of the longest text in it.
image
not especially tech savvy in this department myself, so i cant provide a fix for it, but i wanted to highlight it
thanku all :3

@F4Xa
Copy link

F4Xa commented Dec 26, 2024

Hi, just wanted to point out that if you use the solution provided by MaddoxCH the channels with a lot of characters will display like presented in the image.
image

@MaddoxCH
Copy link

MaddoxCH commented Dec 28, 2024

Hi again guys, to resolve the width problem, you can simply add a max-width to your css, by default it's 240px.

html:not(.visual-refresh) div .sidebar_a4d4d9:not(.hidden_a4d4d9) {
    width: fit-content !important;
    max-width: 240px !important
}

@FakeMichau
Copy link

i did this instead as i still had issue with short channel names causing the bar to shrink

@media (max-width:940px) {
    html:not(.visual-refresh) div .sidebar_a4d4d9:not(.hidden_a4d4d9) {
        width: fit-content !important;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants