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

fix: disable homepage recommendations snippet #822

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

Climax12
Copy link
Contributor

@Climax12 Climax12 commented Aug 16, 2024

fixed issue related to #751

@Climax12 Climax12 changed the title Fixes Disable Homepage Recommendations snippet fix: disable homepage recommendations snippet Aug 16, 2024
@Climax12 Climax12 marked this pull request as ready for review August 16, 2024 18:19
@Climax12 Climax12 requested a review from a team as a code owner August 16, 2024 18:19
@Climax12 Climax12 requested review from theRealPadster and removed request for a team August 16, 2024 18:19
@somewhat69
Copy link

can you send the css in raw text?

@Climax12
Copy link
Contributor Author

can you send the css in raw text?

[data-testid='home-page'] .contentSpacing > *:not(.view-homeShortcutsGrid-shortcuts, .main-shelf-shelf:has([href="/genre/recently-played"], [href="/section/0JQ5DAnM3wGh0gz1MXnu3z"])) {
  display: none !important;
}

@rxri
Copy link
Member

rxri commented Aug 23, 2024

:not and :has are such a performance hitters... I wouldn't really merge this code

@Climax12
Copy link
Contributor Author

Climax12 commented Aug 24, 2024

:not and :has are such a performance hitters... I wouldn't really merge this code

It was used in original one, I just replace .main-home-content with .contentSpacing as it's changed.

@theRealPadster theRealPadster merged commit 1b5ccc2 into spicetify:main Sep 25, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

4 participants