1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix date input field shrink (#51330)

This commit is contained in:
Wendelin
2026-04-01 11:22:37 +02:00
committed by GitHub
parent b8d08ccb05
commit 0d88d139f0
2 changed files with 7 additions and 0 deletions

View File

@@ -123,6 +123,9 @@ export class HaDateInput extends LitElement {
}
static styles = css`
:host {
min-width: 0px;
}
ha-svg-icon {
color: var(--secondary-text-color);
}

View File

@@ -83,6 +83,10 @@ class MoreInfoInputDatetime extends LitElement {
align-items: center;
justify-content: flex-end;
--ha-input-padding-bottom: 0;
flex-wrap: wrap;
}
ha-date-input {
flex: 1 1 160px;
}
ha-date-input + ha-time-input {
margin-left: var(--ha-space-1);