mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-16 10:45:20 +01:00
[CL-322] Remove tw-sr-only from form field labels (#10868)
This commit is contained in:
parent
7cfd6577ac
commit
32903a21f9
@ -6,31 +6,27 @@
|
|||||||
<div bitDialogContent>
|
<div bitDialogContent>
|
||||||
<form [formGroup]="filterFormGroup" [bitSubmit]="refreshEvents">
|
<form [formGroup]="filterFormGroup" [bitSubmit]="refreshEvents">
|
||||||
<div class="tw-flex tw-items-center tw-space-x-2">
|
<div class="tw-flex tw-items-center tw-space-x-2">
|
||||||
<div>
|
<bit-form-field>
|
||||||
<label class="tw-sr-only" for="start">{{ "startDate" | i18n }}</label>
|
<bit-label>{{ "from" | i18n }}</bit-label>
|
||||||
<span>
|
<input
|
||||||
<input
|
bitInput
|
||||||
bitInput
|
type="datetime-local"
|
||||||
type="datetime-local"
|
id="start"
|
||||||
id="start"
|
placeholder="{{ 'startDate' | i18n }}"
|
||||||
placeholder="{{ 'startDate' | i18n }}"
|
formControlName="start"
|
||||||
formControlName="start"
|
/>
|
||||||
/>
|
</bit-form-field>
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<span class="tw-mx-2">-</span>
|
<span class="tw-mx-2">-</span>
|
||||||
<div>
|
<bit-form-field>
|
||||||
<label class="tw-sr-only" for="end">{{ "endDate" | i18n }}</label>
|
<bit-label>{{ "to" | i18n }}</bit-label>
|
||||||
<span>
|
<input
|
||||||
<input
|
bitInput
|
||||||
bitInput
|
type="datetime-local"
|
||||||
type="datetime-local"
|
id="end"
|
||||||
id="end"
|
placeholder="{{ 'endDate' | i18n }}"
|
||||||
placeholder="{{ 'endDate' | i18n }}"
|
formControlName="end"
|
||||||
formControlName="end"
|
/>
|
||||||
/>
|
</bit-form-field>
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<button type="submit" bitButton buttonType="primary" bitFormButton>
|
<button type="submit" bitButton buttonType="primary" bitFormButton>
|
||||||
<i class="bwi bwi-refresh bwi-fw" aria-hidden="true"></i>
|
<i class="bwi bwi-refresh bwi-fw" aria-hidden="true"></i>
|
||||||
{{ "refresh" | i18n }}
|
{{ "refresh" | i18n }}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
<img src="../../images/yubikey.jpg" class="tw-rounded img-fluid tw-mb-3" alt="" />
|
<img src="../../images/yubikey.jpg" class="tw-rounded img-fluid tw-mb-3" alt="" />
|
||||||
</picture>
|
</picture>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
|
<bit-label>{{ "verificationCode" | i18n }}</bit-label>
|
||||||
<input type="password" bitInput formControlName="token" appAutofocus appInputVerbatim />
|
<input type="password" bitInput formControlName="token" appAutofocus appInputVerbatim />
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
*ngFor="let d of custom; let i = index; trackBy: indexTrackBy"
|
*ngFor="let d of custom; let i = index; trackBy: indexTrackBy"
|
||||||
>
|
>
|
||||||
<bit-form-field class="tw-flex-1 !tw-mb-0" formGroupName="{{ i }}">
|
<bit-form-field class="tw-flex-1 !tw-mb-0" formGroupName="{{ i }}">
|
||||||
<bit-label class="tw-sr-only">{{ "customDomainX" | i18n: i + 1 }} </bit-label>
|
<bit-label>{{ "customDomainX" | i18n: i + 1 }} </bit-label>
|
||||||
<textarea
|
<textarea
|
||||||
rows="2"
|
rows="2"
|
||||||
bitInput
|
bitInput
|
||||||
|
Loading…
Reference in New Issue
Block a user