mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +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() ||
|
||||
"1"}
|
||||
type="number"
|
||||
.min=${MIN_RETENTION_VALUE.toString()}
|
||||
min=${MIN_RETENTION_VALUE.toString()}
|
||||
step="1"
|
||||
.suffixText=${this.hass.localize(
|
||||
"ui.panel.config.backup.schedule.retention_units.copies"
|
||||
)}
|
||||
>
|
||||
</ha-md-textfield>
|
||||
</ha-md-list-item>
|
||||
@ -115,12 +118,18 @@ class HaBackupConfigAddon extends LitElement {
|
||||
ha-md-select {
|
||||
min-width: 210px;
|
||||
}
|
||||
ha-md-textfield {
|
||||
width: 210px;
|
||||
}
|
||||
@media all and (max-width: 450px) {
|
||||
ha-md-select {
|
||||
min-width: 160px;
|
||||
width: 160px;
|
||||
--md-filled-field-content-space: 0;
|
||||
}
|
||||
ha-md-textfield {
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user