mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +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;
|
||||
}
|
||||
|
||||
ha-dialog:not([data-domain="camera"]) app-toolbar {
|
||||
max-width: 368px;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 352px;
|
||||
}
|
||||
|
||||
ha-header-bar {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
ha-dialog[data-domain="camera"] .content {
|
||||
ha-dialog[data-domain="camera"] .content,
|
||||
ha-dialog[data-domain="camera"] ha-header-bar {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@ -292,8 +295,9 @@ export class MoreInfoDialog extends LitElement {
|
||||
width: calc(90vw - 48px);
|
||||
}
|
||||
|
||||
:host([large]) app-toolbar {
|
||||
max-width: calc(90vw - 32px);
|
||||
:host([large]) ha-dialog[data-domain="camera"] .content,
|
||||
:host([large]) ha-header-bar {
|
||||
width: 90vw;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user