Merge pull request #1191 from th-ch/fix-navigation

Fix navigation arrows
This commit is contained in:
th-ch
2023-07-09 19:45:05 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 {