1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

do not allow wrapping on choose file button (#10025)

This commit is contained in:
Nick Krantz
2024-07-09 09:02:41 -05:00
committed by GitHub
parent f9b623b37c
commit 830c1297f2

View File

@@ -47,7 +47,13 @@
(change)="onFileChange($event)" (change)="onFileChange($event)"
/> />
<div class="tw-flex tw-gap-2 tw-items-center" aria-hidden="true"> <div class="tw-flex tw-gap-2 tw-items-center" aria-hidden="true">
<button bitButton buttonType="secondary" type="button" (click)="fileInput.click()"> <button
bitButton
buttonType="secondary"
type="button"
(click)="fileInput.click()"
class="tw-whitespace-nowrap"
>
{{ "chooseFile" | i18n }} {{ "chooseFile" | i18n }}
</button> </button>
<p bitTypography="body2" class="tw-text-muted tw-mb-0"> <p bitTypography="body2" class="tw-text-muted tw-mb-0">