mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Fix long entity name streching header (#6393)
This commit is contained in:
parent
1b4a10fac1
commit
a9071d7920
@ -272,19 +272,22 @@ export class MoreInfoDialog extends LitElement {
|
|||||||
--mdc-dialog-max-width: 90vw;
|
--mdc-dialog-max-width: 90vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-dialog:not([data-domain="camera"]) app-toolbar {
|
|
||||||
max-width: 368px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
width: 352px;
|
width: 352px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ha-header-bar {
|
||||||
|
width: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
.main-title {
|
.main-title {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-dialog[data-domain="camera"] .content {
|
ha-dialog[data-domain="camera"] .content,
|
||||||
|
ha-dialog[data-domain="camera"] ha-header-bar {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -292,8 +295,9 @@ export class MoreInfoDialog extends LitElement {
|
|||||||
width: calc(90vw - 48px);
|
width: calc(90vw - 48px);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([large]) app-toolbar {
|
:host([large]) ha-dialog[data-domain="camera"] .content,
|
||||||
max-width: calc(90vw - 32px);
|
:host([large]) ha-header-bar {
|
||||||
|
width: 90vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user