Skip to content

Commit d4e1baa

Browse files
authored
Merge pull request #147 from w3bdesign/development
Development
2 parents 3e46982 + 6bf7d7b commit d4e1baa

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

components/Checkout/Billing.component.jsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const Billing = ({ input, handleOnChange }) => {
171171
<div className="p-0 pr-2 col-lg-6 col-md-12">
172172
<div className="form-group">
173173
<label htmlFor="phone">
174-
Telefon
174+
Telefon
175175
<abbr className="required" title="required">
176176
*
177177
</abbr>
@@ -207,6 +207,15 @@ const Billing = ({ input, handleOnChange }) => {
207207
</div>
208208
</div>
209209
</div>
210+
211+
<br />
212+
213+
{ // https://tailwindcss.com/components/forms/#
214+
}
215+
216+
217+
218+
210219
</>
211220
);
212221
};

components/Checkout/CheckoutForm.component.jsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,21 @@ const CheckoutForm = () => {
9393
return (
9494
<>
9595
{cart ? (
96-
<div className="container mx-auto">
97-
<form onSubmit={handleFormSubmit} className="">
96+
<form onSubmit={handleFormSubmit} className="">
97+
<div className="">
98+
{/*Payment Details*/}
9899
<div className="">
99-
{/*Payment Details*/}
100-
<div className="">
101-
<h2 className="">Betalingsdetaljer</h2>
102-
<Billing input={input} handleOnChange={handleOnChange} />
103-
</div>
104-
105-
{/* Checkout Loading*/}
106-
{checkoutLoading && <p>Behandler ordre ...</p>}
107-
{requestError && (
108-
<p>Feilmelding: {requestError} :( Vennligst prøv igjen.</p>
109-
)}
100+
<h2 className="">Betalingsdetaljer</h2>
101+
<Billing input={input} handleOnChange={handleOnChange} />
110102
</div>
111-
</form>
112-
</div>
103+
104+
{/* Checkout Loading*/}
105+
{checkoutLoading && <p>Behandler ordre ...</p>}
106+
{requestError && (
107+
<p>Feilmelding: {requestError} :( Vennligst prøv igjen.)</p>
108+
)}
109+
</div>
110+
</form>
113111
) : (
114112
''
115113
)}

0 commit comments

Comments
 (0)