Skip to content

Commit

Permalink
Merge pull request #1191 from th-ch/fix-navigation
Browse files Browse the repository at this point in the history
Fix navigation arrows
  • Loading branch information
th-ch authored Jul 9, 2023
2 parents 1ed43e1 + d0733e2 commit 98a2c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/navigation/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function run() {
templatePath(__dirname, "forward.html")
);
const backButton = ElementFromFile(templatePath(__dirname, "back.html"));
const menu = document.querySelector("ytmusic-pivot-bar-renderer");
const menu = document.querySelector("#right-content");

if (menu) {
menu.prepend(backButton, forwardButton);
Expand Down
2 changes: 1 addition & 1 deletion plugins/navigation/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
align-items: center;
color: rgba(255, 255, 255, 0.5);
cursor: pointer;
margin: 0 var(--ytmusic-pivot-bar-tab-margin);
margin: 0 var(--ytd-rich-grid-item-margin);
}

.navigation-item:hover {
Expand Down

0 comments on commit 98a2c0d

Please sign in to comment.