-
-
Notifications
You must be signed in to change notification settings - Fork 247
Hide upgrade button snippet updated to use new selector #342
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
Conversation
|
@Neop0litan If i had to guess, i'd say that this is probably going to be patched soon in the CSS-MAP |
These are 2 component IDs joined together dynamically. It can't be changed via the CSS map. |
|
@kyrie25 wdym |
|
Just look around |
|
It's better if you can use attributes on your CSS selector for this case tho. |
I opt to avoid using attribute selectors especially when clients can have their language changed. It may work when set to English but, it might not work on another language. Also note that the previous selector focused the button directly as does mine. The selector may not be as human readable as the last one but, it works until another change is made. |
|
The only attributes that are language-dependent is The last one selects the button doesn't mean this also has to, especially when the new element changed and has the same element as sidebar components, which are either We aim for maintainability over temporary fixes, because as Spotify gets further updates, the number of selector would stack up also, which would also mean that the user would have to update Marketplace more frequently every time something changes. |
|
Apparently there is a hash class name used in the upgrade button and it will be fixed in spicetify/cli#1966 |
Fixed the Hide Upgrade Button snippet using the wrong selector