View background settings: Change radio buttons to dropdowns (#23403)

This commit is contained in:
Simon Lamon 2024-12-23 15:30:17 +01:00 committed by GitHub
parent 664cc9b33d
commit 8e71bd7e82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,7 @@ export class HuiViewBackgroundEditor extends LitElement {
translation_key: translation_key:
"ui.panel.lovelace.editor.edit_view.background.size", "ui.panel.lovelace.editor.edit_view.background.size",
options: ["auto", "cover", "contain"], options: ["auto", "cover", "contain"],
mode: "dropdown",
}, },
}, },
}, },
@ -79,6 +80,7 @@ export class HuiViewBackgroundEditor extends LitElement {
"bottom center", "bottom center",
"bottom right", "bottom right",
], ],
mode: "dropdown",
}, },
}, },
}, },
@ -89,6 +91,7 @@ export class HuiViewBackgroundEditor extends LitElement {
translation_key: translation_key:
"ui.panel.lovelace.editor.edit_view.background.repeat", "ui.panel.lovelace.editor.edit_view.background.repeat",
options: ["repeat", "no-repeat"], options: ["repeat", "no-repeat"],
mode: "dropdown",
}, },
}, },
}, },