web: fix minor styling issues

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-05 22:04:45 +02:00
parent fdd8e66b91
commit f28bfdaeb9
5 changed files with 10 additions and 5 deletions

View File

@ -16,6 +16,7 @@ import { ERROR_CLASS, PRIMARY_CLASS, PROGRESS_CLASS, SUCCESS_CLASS } from "../..
@customElement("ak-spinner-button")
export class SpinnerButton extends LitElement {
@property({ type: Boolean })
isRunning = false;
@ -79,7 +80,7 @@ export class SpinnerButton extends LitElement {
}}
>
${this.isRunning
? html` <span class="pf-c-button__progress">
? html`<span class="pf-c-button__progress">
<ak-spinner size=${PFSize.Medium}></ak-spinner>
</span>`
: ""}