mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Improve backup settings display on mobile (#23967)
This commit is contained in:
parent
6aab60cf45
commit
c337bc5f97
@ -378,8 +378,9 @@ class HaBackupConfigData extends LitElement {
|
|||||||
}
|
}
|
||||||
@media all and (max-width: 450px) {
|
@media all and (max-width: 450px) {
|
||||||
ha-md-select {
|
ha-md-select {
|
||||||
min-width: 160px;
|
min-width: 140px;
|
||||||
width: 160px;
|
width: 140px;
|
||||||
|
--md-filled-field-content-space: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -545,6 +545,12 @@ class HaBackupConfigSchedule extends LitElement {
|
|||||||
ha-md-select,
|
ha-md-select,
|
||||||
ha-time-input {
|
ha-time-input {
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
|
width: 160px;
|
||||||
|
--md-filled-field-content-space: 0;
|
||||||
|
}
|
||||||
|
ha-time-input {
|
||||||
|
min-width: 120px;
|
||||||
|
width: 120px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ha-md-textfield#value {
|
ha-md-textfield#value {
|
||||||
@ -553,6 +559,16 @@ class HaBackupConfigSchedule extends LitElement {
|
|||||||
ha-md-select#type {
|
ha-md-select#type {
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
|
@media all and (max-width: 450px) {
|
||||||
|
ha-md-textfield#value {
|
||||||
|
min-width: 60px;
|
||||||
|
margin: 0 -8px;
|
||||||
|
}
|
||||||
|
ha-md-select#type {
|
||||||
|
min-width: 120px;
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
ha-expansion-panel {
|
ha-expansion-panel {
|
||||||
--expansion-panel-summary-padding: 0 16px;
|
--expansion-panel-summary-padding: 0 16px;
|
||||||
--expansion-panel-content-padding: 0 16px;
|
--expansion-panel-content-padding: 0 16px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user