1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[PM-9710] [Bootstrap] Hide file inputs when not using bootstrap (#10095)

When removing boostrap it seems the hidden attribute to the file inputs stops working. This implements a "quick" fix by just adding the tw-hidden class.
This commit is contained in:
Oscar Hinton
2024-07-15 20:09:25 +02:00
committed by GitHub
parent c72fae5c9a
commit bc7c6dd04e
7 changed files with 10 additions and 3 deletions

View File

@@ -76,12 +76,13 @@
<input
bitInput
#fileSelector
hidden
type="file"
id="file"
name="file"
formControlName="file"
(change)="setSelectedFile($event)"
hidden
class="tw-hidden"
/>
<bit-hint>{{ "sendFileDesc" | i18n }} {{ "maxFileSize" | i18n }}</bit-hint>
</bit-form-field>