mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Merge pull request #1191 from th-ch/fix-navigation
Fix navigation arrows
This commit is contained in:
@ -8,7 +8,7 @@ function run() {
|
|||||||
templatePath(__dirname, "forward.html")
|
templatePath(__dirname, "forward.html")
|
||||||
);
|
);
|
||||||
const backButton = ElementFromFile(templatePath(__dirname, "back.html"));
|
const backButton = ElementFromFile(templatePath(__dirname, "back.html"));
|
||||||
const menu = document.querySelector("ytmusic-pivot-bar-renderer");
|
const menu = document.querySelector("#right-content");
|
||||||
|
|
||||||
if (menu) {
|
if (menu) {
|
||||||
menu.prepend(backButton, forwardButton);
|
menu.prepend(backButton, forwardButton);
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
color: rgba(255, 255, 255, 0.5);
|
color: rgba(255, 255, 255, 0.5);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 0 var(--ytmusic-pivot-bar-tab-margin);
|
margin: 0 var(--ytd-rich-grid-item-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-item:hover {
|
.navigation-item:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user