Skip to content

Commit c4c6777

Browse files
authored
fix(snippets): update homepage selectors (#882)
1 parent f880fa5 commit c4c6777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
{
105105
"title": "Disable Homepage Recommendations",
106106
"description": "Removes all recommendations from the homepage",
107-
"code": "[data-testid='home-page'] .contentSpacing > *:not(.view-homeShortcutsGrid-shortcuts, .main-shelf-shelf:has([href=\"/genre/recently-played\"], [href=\"/section/0JQ5DAnM3wGh0gz1MXnu3z\"])) {\n display: none !important;\n}",
107+
"code": "[data-testid='home-page'] .contentSpacing > *:not(.view-homeShortcutsGrid-shortcuts, [data-testid='component-shelf']:has([href=\"/genre/recently-played\"], [href=\"/section/0JQ5DAnM3wGh0gz1MXnu3z\"])) {\n display: none !important;\n}",
108108
"preview": "resources/assets/snippets/disable-recommendations.png"
109109
},
110110
{
@@ -224,7 +224,7 @@
224224
{
225225
"title": "Remove Popular sections from homepage",
226226
"description": "Thanks Spotify, but I have a music taste",
227-
"code": ".main-shelf-shelf.Shelf:has([href='/section/0JQ5DAuChZYPe9iDhh2mJz'], [href='/section/0JQ5DAnM3wGh0gz1MXnu4h'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3B'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3D']) { display: none !important; }",
227+
"code": "[data-testid='home-page'] .contentSpacing > [data-testid='component-shelf']:has([href='/section/0JQ5DAuChZYPe9iDhh2mJz'], [href='/section/0JQ5DAnM3wGh0gz1MXnu4h'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3B'], [href='/section/0JQ5DAnM3wGh0gz1MXnu3D']) { display: none !important; }",
228228
"preview": "resources/assets/snippets/remove-popular.png"
229229
},
230230
{

0 commit comments

Comments
 (0)