mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Media panel fix (#12485)
This commit is contained in:
parent
3ccbf6983e
commit
8135611688
@ -152,6 +152,7 @@ class DialogMediaPlayerBrowse extends LitElement {
|
|||||||
ha-media-player-browse {
|
ha-media-player-browse {
|
||||||
--media-browser-max-height: calc(100vh - 65px);
|
--media-browser-max-height: calc(100vh - 65px);
|
||||||
height: calc(100vh - 65px);
|
height: calc(100vh - 65px);
|
||||||
|
direction: ltr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 800px) {
|
@media (min-width: 800px) {
|
||||||
|
@ -686,6 +686,16 @@ export class BarMediaPlayer extends LitElement {
|
|||||||
mwc-list-item[selected] {
|
mwc-list-item[selected] {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host-context([style*="direction: rtl;"]) ha-svg-icon[slot="icon"] {
|
||||||
|
margin-left: 8px !important;
|
||||||
|
margin-right: 8px !important;
|
||||||
|
}
|
||||||
|
:host-context([style*="direction: rtl;"])
|
||||||
|
ha-svg-icon[slot="trailingIcon"] {
|
||||||
|
margin-left: 0px !important;
|
||||||
|
margin-right: 8px !important;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -278,6 +278,7 @@ class PanelMediaBrowser extends LitElement {
|
|||||||
|
|
||||||
ha-media-player-browse {
|
ha-media-player-browse {
|
||||||
height: calc(100vh - (100px + var(--header-height)));
|
height: calc(100vh - (100px + var(--header-height)));
|
||||||
|
direction: ltr;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([narrow]) ha-media-player-browse {
|
:host([narrow]) ha-media-player-browse {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user