Externalize ha-assist-chat styling (#23713)

This commit is contained in:
Paulus Schoutsen 2025-01-16 02:49:34 -05:00 committed by GitHub
parent c17c1e4217
commit 173d60b913
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -483,11 +483,9 @@ export class HaAssistChat extends LitElement {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: var(--ha-assist-chat-min-height, 415px);
} }
ha-textfield { ha-textfield {
display: block; display: block;
margin: 0 24px 16px;
} }
.messages { .messages {
flex: 1; flex: 1;
@ -500,7 +498,7 @@ export class HaAssistChat extends LitElement {
bottom: 0px; bottom: 0px;
right: 0px; right: 0px;
left: 0px; left: 0px;
padding: 24px; padding: 0px 10px 16px;
box-sizing: border-box; box-sizing: border-box;
overflow-y: auto; overflow-y: auto;
max-height: 100%; max-height: 100%;

View File

@ -308,6 +308,10 @@ export class HaVoiceCommandDialog extends LitElement {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
ha-assist-chat {
margin: 0 24px 16px;
min-height: 399px;
}
`, `,
]; ];
} }