Move save button to the right (#8314)

This commit is contained in:
Joakim Sørensen 2021-02-03 15:58:17 +01:00 committed by GitHub
parent f7c7ac44f7
commit 17aff2f9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ class HassioAddonConfig extends LitElement {
? ""
: html` <div class="errors">Invalid YAML</div> `}
</div>
<div class="card-actions">
<div class="card-actions right">
<ha-progress-button
@click=${this._saveTapped}
.disabled=${!this._configHasChanged || !this._valid}
@ -271,6 +271,9 @@ class HassioAddonConfig extends LitElement {
margin-block: 0px;
font-weight: normal;
}
.card-actions.right {
justify-content: flex-end;
}
`,
];
}