mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +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:
@@ -11,7 +11,6 @@
|
||||
</div>
|
||||
<input
|
||||
#fileSelector
|
||||
hidden
|
||||
bitInput
|
||||
type="file"
|
||||
id="file"
|
||||
@@ -19,6 +18,8 @@
|
||||
name="file"
|
||||
(change)="setSelectedFile($event)"
|
||||
accept="application/JSON"
|
||||
hidden
|
||||
class="tw-hidden"
|
||||
/>
|
||||
<bit-hint>{{ "acceptedFormats" | i18n }} Bitwarden (json)</bit-hint>
|
||||
</bit-form-field>
|
||||
|
||||
Reference in New Issue
Block a user