diff --git a/src/calculator-form.ts b/src/calculator-form.ts index 21f6704..4c1cbb6 100644 --- a/src/calculator-form.ts +++ b/src/calculator-form.ts @@ -76,111 +76,107 @@ export const formTemplate = ( [zip, ownerStatus, householdIncome, taxFiling, householdSize]: Array, onSubmit: (e: SubmitEvent) => void, ) => html` -
-

How much money will you get with the Inflation Reduction Act?

-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
+ +
+
+
- -
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ `; diff --git a/src/calculator.ts b/src/calculator.ts index b8c80da..edaf7e5 100644 --- a/src/calculator.ts +++ b/src/calculator.ts @@ -144,18 +144,21 @@ export class RewiringAmericaCalculator extends LitElement { override render() { return html`
- ${this.hideForm - ? nothing - : formTemplate( - [ - this.zip, - this.ownerStatus, - this.householdIncome, - this.taxFiling, - this.householdSize, - ], - (event: SubmitEvent) => this.submit(event), - )} +
+

How much money will you get with the Inflation Reduction Act?

+ ${this.hideForm + ? nothing + : formTemplate( + [ + this.zip, + this.ownerStatus, + this.householdIncome, + this.taxFiling, + this.householdSize, + ], + (event: SubmitEvent) => this.submit(event), + )} +
${this.hideResult ? nothing : html`