mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 20:26:39 +00:00
Add suffix to addon copies setting (#25055)
This commit is contained in:
parent
74741c5d69
commit
a2689eee63
@ -71,8 +71,11 @@ class HaBackupConfigAddon extends LitElement {
|
|||||||
.value=${this.supervisorUpdateConfig?.add_on_backup_retain_copies?.toString() ||
|
.value=${this.supervisorUpdateConfig?.add_on_backup_retain_copies?.toString() ||
|
||||||
"1"}
|
"1"}
|
||||||
type="number"
|
type="number"
|
||||||
.min=${MIN_RETENTION_VALUE.toString()}
|
min=${MIN_RETENTION_VALUE.toString()}
|
||||||
step="1"
|
step="1"
|
||||||
|
.suffixText=${this.hass.localize(
|
||||||
|
"ui.panel.config.backup.schedule.retention_units.copies"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
</ha-md-textfield>
|
</ha-md-textfield>
|
||||||
</ha-md-list-item>
|
</ha-md-list-item>
|
||||||
@ -115,12 +118,18 @@ class HaBackupConfigAddon extends LitElement {
|
|||||||
ha-md-select {
|
ha-md-select {
|
||||||
min-width: 210px;
|
min-width: 210px;
|
||||||
}
|
}
|
||||||
|
ha-md-textfield {
|
||||||
|
width: 210px;
|
||||||
|
}
|
||||||
@media all and (max-width: 450px) {
|
@media all and (max-width: 450px) {
|
||||||
ha-md-select {
|
ha-md-select {
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
--md-filled-field-content-space: 0;
|
--md-filled-field-content-space: 0;
|
||||||
}
|
}
|
||||||
|
ha-md-textfield {
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user