diff --git a/src/js/menu/media-chrome-menu.ts b/src/js/menu/media-chrome-menu.ts index 924b04de2..c9ae9c174 100644 --- a/src/js/menu/media-chrome-menu.ts +++ b/src/js/menu/media-chrome-menu.ts @@ -141,17 +141,16 @@ template.innerHTML = /*html*/ ` transform: translate(-100%, 0); } - slot[name="header"] { - display: flex; + slot[name="header"][hidden] { + display: none; + } + + slot[name="header"]::slotted(*) { padding: .4em .7em; border-bottom: 1px solid rgb(255 255 255 / .25); cursor: default; } - slot[name="header"][hidden] { - display: none; - } - button[part~="back"] { background: none; color: inherit; @@ -197,7 +196,7 @@ template.innerHTML = /*html*/ `