mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
fix time input width (#23998)
This commit is contained in:
parent
6b691063a8
commit
5abfb90b16
@ -329,15 +329,12 @@ export class HaBaseTimeInput extends LitElement {
|
||||
:host([clearable]) {
|
||||
position: relative;
|
||||
}
|
||||
:host {
|
||||
display: block;
|
||||
}
|
||||
.time-input-wrap-wrap {
|
||||
display: flex;
|
||||
}
|
||||
.time-input-wrap {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex: var(--time-input-flex, unset);
|
||||
border-radius: var(--mdc-shape-small, 4px) var(--mdc-shape-small, 4px) 0 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
@ -537,20 +537,22 @@ class HaBackupConfigSchedule extends LitElement {
|
||||
ha-md-list-item {
|
||||
--md-item-overflow: visible;
|
||||
}
|
||||
ha-md-select,
|
||||
ha-time-input {
|
||||
ha-md-select {
|
||||
min-width: 210px;
|
||||
}
|
||||
ha-time-input {
|
||||
min-width: 194px;
|
||||
--time-input-flex: 1;
|
||||
}
|
||||
@media all and (max-width: 450px) {
|
||||
ha-md-select,
|
||||
ha-time-input {
|
||||
ha-md-select {
|
||||
min-width: 160px;
|
||||
width: 160px;
|
||||
--md-filled-field-content-space: 0;
|
||||
}
|
||||
ha-time-input {
|
||||
min-width: 120px;
|
||||
width: 120px;
|
||||
min-width: 145px;
|
||||
width: 145px;
|
||||
}
|
||||
}
|
||||
ha-md-textfield#value {
|
||||
|
Loading…
x
Reference in New Issue
Block a user