#User Panel
1 messages ยท Page 1 of 1 (latest)
instead of using all those aria labels, which don't work unless the language is english i believe, you can just replace all of them with .container-YkUktl button
@chilly frigate
it is less robust
wha
what do you mean
discord randomly changes the hash next to .container- but never changed the aria label
they haven't changed it from the time i made my profile panel snippet so shrugger
For those of us that only have three buttons there
/*User Panel*/
.nameTag-sc-gpq {
text-align: center;
}
.withTagAsButton-OsgQ9L, .withTagless-10ooWt{
min-width: 212px!important;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
.container-YkUktl button {
width: 70px;
background-color: var(--background-primary);
margin: 4px;
border-radius: 5px;
}
.container-YkUktl{
margin-top: 40px;
}
lol
oh
i misread katze's snippet lol
confirmation bias
what
You where certain that using aria labels, which are language specifics, will create issue for some ppl
So when you saw another css snippet, you immediatly thought that it was about this and that it proved your point
That is because of comfirmation bias
WT
If your using the one i posted it works
Having same issue as Vincent with #๐จ-css-snippets message
Strange as it still works for me
Are you using a theme?
I'm on ptb
I juste turned off my pc :/
You need the one highlighted but for yours as your on PTB
Basically like that, I don't have custom icons like him
The custom icons is another theme i coded for the icons for all of them lol
Yours should still have the buttons and name like the same tho as thats what i posted out
Yes same locations for my icons
I'll check tomorrow, gotta sleep
thx
Np bud
Well iv just tried it with discord PTB and it works too...
This is with only the top code, #๐จ-css-snippets message
Cant see it lol
Try this one.
/User Panel/
min-width: 212px!important;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
button[aria-label="Disable Game Activity"], button[aria-label="Enable Game Activity"], button[aria-label="Mute"], button[aria-label="Deafen"], button[aria-label="User Settings"] {
width: 48px!important;
background: var(--bg-overlay-4,var(--background-primary))!important;
margin: 4px!important;
border-radius: 5px!important;
}
.container-YkUktl{
padding-top: 40px!important;
}```
I dont know what other code you might be using but if you put !important after them it should force that code before others.
change aria labels to match the french ones (or put discord in english)
Oh yeah nice catch... I could not think of any other reason why it would not work
@stuck river was right :)
yop B)
I changed aria labels, seems to work
That grey background behind my avatar/name looks bad with my theme tho
button[aria-label="Mute"] also affects the mute button inside voice channels and DM calls
solution: .container-YkUktl button[aria-label="Mute"]
Post your code in here as iv changed it a few times to get it right with all themes and its working right now
This one works with all themes as iv just test it.
.withTagAsButton-OsgQ9L, .withTagless-10ooWt{
min-width: 212px!important;
max-width: 60px;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
.container-YkUktl button {
width: 48px;
background: var(--bg-overlay-4,var(--background-primary));
margin: 4px;
border-radius: 5px;
}
.container-YkUktl{
padding-top: 40px;
}```
instead of using all those aria labels, which don't work unless the language is english i believe, you can just replace all of them with
.container-YkUktl button
the status is just goes on, is there any way to fix this?
add max-width: 60px; to .withTagAsButton-OsgQ9L, .withTagless-10ooWt
thank you it worked 
it works so not gonna complain abt it
for some reason max-width: 1px works?
Yeah iv changed it, i tried it like that before and some reason it did not work when i was testing it
ok
works great ty
Your welcome I seen my error in the code I made.
this stopped working for me just today
i think for this reason
how to replace this section with aria labels
nvm found solution #๐จ-theme-development message
will this be updated with latest class tags?
i cant check them myself cus everytme i do ctrl+shift+i i get logged out of all discord accounts
/*User Panel*/
[class*=withTagAsButton_], [class*=withTagless_] {
min-width: 212px!important;
max-width: 60px;
position: fixed;
margin-top: -80px;
margin-left: 5px;
border-radius: 5px;
}
.container_ca50b9 button {
width: 48px;
background: var(--bg-overlay-4,var(--background-primary));
margin: 4px;
border-radius: 5px;
}
.container_ca50b9 {
padding-top: 40px;
}
try this
this could work