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

added 2 snippets regarding the global nav bar #770

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,5 +376,17 @@
"description": "Changes the background of unplayable tracks to make it easier to spot them in large playlists.",
"code": ".main-trackList-disabled{background:#f004}.main-trackList-disabled:focus-within,.main-trackList-disabled:hover{background:#f005}.main-trackList-disabled.main-trackList-selected,.main-trackList-disabled.main-trackList-selected:hover{background:#f006}",
"preview": "resources/assets/snippets/More-Visible-Unplayable-Tracks"
},
{
"title": "[Global Nav Bar] remove scrolling overflow",
"description": "Removes the max visible width restrictions of the 'sidebar' items. Useful if you have more than the scrolling limit but not as much that it will overflow with the searchbar",
"code": ".custom-navlinks-scrollable_container{max-width: unset!important}",
"preview": "resources/assets/snippets/glob-nav-max-items.png"
},
{
"title": "[Global Nav Bar] marketplace header margin fix",
"description": "Global Nav Bar breaks the margin for certain themes, this removes the standard margin, and sets it back to 0",
"code": "div.marketplace-header:has(.marketplace-header__left .marketplace-sortBox-header){margin-top:unset;}",
"preview": "resources/assets/snippets/glob-nav-mrktplc-margin.png"
}
]
Loading