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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

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">