diff --git a/panels/automation/ha-automation-editor.html b/panels/automation/ha-automation-editor.html index 68d3e4b549..c47a757815 100644 --- a/panels/automation/ha-automation-editor.html +++ b/panels/automation/ha-automation-editor.html @@ -11,6 +11,7 @@ + diff --git a/preact-src/json_textarea.js b/preact-src/json_textarea.js index 324d464d71..d8b6399ed2 100644 --- a/preact-src/json_textarea.js +++ b/preact-src/json_textarea.js @@ -41,15 +41,16 @@ export default class JSONTextArea extends Component { render(props, { value, isValid }) { const style = { minWidth: 300, + width: '100%', }; if (!isValid) { style.border = '1px solid red'; } return ( -