Skip to content

Commit 7d0944b

Browse files
authored
Merge pull request #4847 from DTS-STN/seb/fix-tw-class
fix(frontend): `w-full` tw class
2 parents d6493a9 + c91dae4 commit 7d0944b

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

frontend/app/routes/protected/application/spokes/child-federal-provincial-territorial-benefits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export default function ChildFederalProvincialTerritorialBenefits({ loaderData,
287287
<InputSelect
288288
id="province"
289289
name="province"
290-
className="w-intake sm:w-1/2"
290+
className="w-full sm:w-1/2"
291291
label={t('protected-application-spokes:children.dental-benefits.provincial-territorial-benefits.social-programs.input-legend')}
292292
onChange={handleOnRegionChanged}
293293
options={[

frontend/app/routes/protected/application/spokes/child-information.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export default function ChildInformation({ loaderData, params }: Route.Component
314314
id="first-name"
315315
name="firstName"
316316
label={t('protected-application-spokes:children.information.first-name')}
317-
className="w-intake"
317+
className="w-full"
318318
maxLength={100}
319319
aria-description={t('protected-application-spokes:children.information.name-instructions')}
320320
autoComplete="given-name"
@@ -326,7 +326,7 @@ export default function ChildInformation({ loaderData, params }: Route.Component
326326
id="last-name"
327327
name="lastName"
328328
label={t('protected-application-spokes:children.information.last-name')}
329-
className="w-intake"
329+
className="w-full"
330330
maxLength={100}
331331
autoComplete="family-name"
332332
defaultValue={defaultState?.lastName ?? ''}

frontend/app/routes/protected/application/spokes/email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export default function ApplicationEmail({ loaderData, params }: Route.Component
159159
name="email"
160160
type="email"
161161
inputMode="email"
162-
className="w-intake"
162+
className="w-full"
163163
autoComplete="email"
164164
defaultValue={defaultState}
165165
errorMessage={errors?.email}

frontend/app/routes/protected/application/spokes/federal-provincial-territorial-benefits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export default function ApplicationSpokeFederalProvincialTerritorialBenefits({ l
269269
<InputSelect
270270
id="province"
271271
name="province"
272-
className="w-intake sm:w-1/2"
272+
className="w-full sm:w-1/2"
273273
label={t('protected-application-spokes:dental-benefits.provincial-territorial-benefits.social-programs.input-legend')}
274274
onChange={handleOnRegionChanged}
275275
options={[

frontend/app/routes/protected/application/spokes/home-address.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
256256
<InputSanitizeField
257257
id="home-address"
258258
name="address"
259-
className="w-intake"
259+
className="w-full"
260260
label={t('protected-application-spokes:address.address-field.address')}
261261
helpMessagePrimary={t('protected-application-spokes:address.address-field.address-help')}
262262
helpMessagePrimaryClassName="text-black"
@@ -269,7 +269,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
269269
<InputSanitizeField
270270
id="home-apartment"
271271
name="apartment"
272-
className="w-intake"
272+
className="w-full"
273273
label={t('protected-application-spokes:address.address-field.apartment')}
274274
maxLength={100}
275275
helpMessagePrimary={t('protected-application-spokes:address.address-field.apartment-help')}
@@ -282,7 +282,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
282282
<InputSanitizeField
283283
id="home-city"
284284
name="city"
285-
className="w-intake"
285+
className="w-full"
286286
label={t('protected-application-spokes:address.address-field.city')}
287287
maxLength={100}
288288
autoComplete="address-level2"
@@ -293,7 +293,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
293293
<InputSanitizeField
294294
id="home-postal-code"
295295
name="postalZipCode"
296-
className="w-intake"
296+
className="w-full"
297297
label={isPostalCodeRequired ? t('protected-application-spokes:address.address-field.postal-code') : t('protected-application-spokes:address.address-field.postal-code-optional')}
298298
maxLength={100}
299299
autoComplete="postal-code"
@@ -306,7 +306,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
306306
<InputSelect
307307
id="home-province"
308308
name="provinceStateId"
309-
className="w-intake sm:w-1/2"
309+
className="w-full sm:w-1/2"
310310
label={t('protected-application-spokes:address.address-field.province')}
311311
defaultValue={defaultState.province}
312312
errorMessage={errors?.provinceStateId}
@@ -317,7 +317,7 @@ export default function HomeAddress({ loaderData, params }: Route.ComponentProps
317317
<InputSelect
318318
id="home-country"
319319
name="countryId"
320-
className="w-intake sm:w-1/2"
320+
className="w-full sm:w-1/2"
321321
label={t('protected-application-spokes:address.address-field.country')}
322322
autoComplete="country"
323323
defaultValue={defaultState.country ?? ''}

frontend/app/routes/protected/application/spokes/mailing-address.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
294294
<InputSanitizeField
295295
id="mailing-address"
296296
name="address"
297-
className="w-intake"
297+
className="w-full"
298298
label={t('protected-application-spokes:address.address-field.address')}
299299
maxLength={100}
300300
helpMessagePrimary={t('protected-application-spokes:address.address-field.address-help')}
@@ -307,7 +307,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
307307
<InputSanitizeField
308308
id="mailing-apartment"
309309
name="apartment"
310-
className="w-intake"
310+
className="w-full"
311311
label={t('protected-application-spokes:address.address-field.apartment')}
312312
maxLength={100}
313313
helpMessagePrimary={t('protected-application-spokes:address.address-field.apartment-help')}
@@ -320,7 +320,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
320320
<InputSanitizeField
321321
id="mailing-city"
322322
name="city"
323-
className="w-intake"
323+
className="w-full"
324324
label={t('protected-application-spokes:address.address-field.city')}
325325
maxLength={100}
326326
autoComplete="address-level2"
@@ -331,7 +331,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
331331
<InputSanitizeField
332332
id="mailing-postal-code"
333333
name="postalZipCode"
334-
className="w-intake"
334+
className="w-full"
335335
label={isPostalCodeRequired ? t('protected-application-spokes:address.address-field.postal-code') : t('protected-application-spokes:address.address-field.postal-code-optional')}
336336
maxLength={100}
337337
autoComplete="postal-code"
@@ -345,7 +345,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
345345
<InputSelect
346346
id="mailing-province"
347347
name="provinceStateId"
348-
className="w-intake sm:w-1/2"
348+
className="w-full sm:w-1/2"
349349
label={t('protected-application-spokes:address.address-field.province')}
350350
defaultValue={defaultState.province}
351351
errorMessage={errors?.provinceStateId}
@@ -356,7 +356,7 @@ export default function MailingAddress({ loaderData, params }: Route.ComponentPr
356356
<InputSelect
357357
id="mailing-country"
358358
name="countryId"
359-
className="w-intake sm:w-1/2"
359+
className="w-full sm:w-1/2"
360360
label={t('protected-application-spokes:address.address-field.country')}
361361
autoComplete="country"
362362
defaultValue={defaultState.country}

frontend/app/routes/protected/application/spokes/phone-number.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export default function PhoneNumber({ loaderData, params }: Route.ComponentProps
145145
name="phoneNumber"
146146
type="tel"
147147
inputMode="tel"
148-
className="w-intake"
148+
className="w-full"
149149
autoComplete="tel"
150150
defaultValue={defaultState.phoneNumber ?? ''}
151151
errorMessage={errors?.phoneNumber}
@@ -158,7 +158,7 @@ export default function PhoneNumber({ loaderData, params }: Route.ComponentProps
158158
name="phoneNumberAlt"
159159
type="tel"
160160
inputMode="tel"
161-
className="w-intake"
161+
className="w-full"
162162
autoComplete="tel"
163163
defaultValue={defaultState.phoneNumberAlt ?? ''}
164164
errorMessage={errors?.phoneNumberAlt}

frontend/app/routes/protected/application/spokes/verify-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default function ApplicationVerifyEmail({ loaderData, params }: Route.Com
218218
<InputField
219219
id="verification-code"
220220
name="verificationCode"
221-
className="w-intake"
221+
className="w-full"
222222
errorMessage={errors?.verificationCode}
223223
label={t('protected-application-spokes:verify-email.verification-code-label')}
224224
aria-describedby="verification-code"

0 commit comments

Comments
 (0)