mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
fix(style): fix navigation bar items are not working
resolve #1381 resolve #1396 resolve #1649
This commit is contained in:
@ -3,15 +3,25 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Allow window dragging */
|
/* Allow window dragging */
|
||||||
.center-content.ytmusic-nav-bar {
|
ytmusic-nav-bar {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
ytmusic-nav-bar::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
.center-content.ytmusic-nav-bar > ytmusic-search-box {
|
ytmusic-nav-bar > .left-content > *,
|
||||||
|
ytmusic-nav-bar > .center-content > *,
|
||||||
|
ytmusic-nav-bar > .right-content > * {
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
iron-icon,
|
iron-icon,
|
||||||
ytmusic-pivot-bar-item-renderer,
|
ytmusic-pivot-bar-item-renderer,
|
||||||
.tab-title,
|
.tab-title,
|
||||||
|
|||||||
Reference in New Issue
Block a user