Skip to content

Commit

Permalink
fix: fix broken menu-layout (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick authored Nov 4, 2023
1 parent 6dabfaa commit 6712fce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/plugins/downloader/style.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.menu-item {
.ytmd-menu-item {
display: var(--ytmusic-menu-item_-_display);
height: var(--ytmusic-menu-item_-_height);
align-items: var(--ytmusic-menu-item_-_align-items);
padding: var(--ytmusic-menu-item_-_padding);
cursor: pointer;
}

.menu-item > .yt-simple-endpoint:hover {
.ytmd-menu-item > .yt-simple-endpoint:hover {
background-color: var(--ytmusic-menu-item-hover-background-color);
}

.menu-icon {
.ytmd-menu-item {
flex: var(--ytmusic-menu-item-icon_-_flex);
margin: var(--ytmusic-menu-item-icon_-_margin);
fill: var(--ytmusic-menu-item-icon_-_fill);
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/downloader/templates/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
role="option"
tabindex="-1"
>
<div
<a
class="yt-simple-endpoint style-scope ytmusic-menu-navigation-item-renderer"
id="navigation-endpoint"
tabindex="-1"
>
<div
class="icon menu-icon style-scope ytmusic-menu-navigation-item-renderer"
class="icon ytmd-menu-item style-scope ytmusic-menu-navigation-item-renderer"
>
<svg
class="style-scope yt-icon"
Expand Down Expand Up @@ -41,5 +41,5 @@
>
Download
</div>
</div>
</a>
</div>

0 comments on commit 6712fce

Please sign in to comment.