fix(ui): broken buttons in the bulk upload drawer (#8926)

Fixes the mobile bottom interface and the arrow buttons in the actions
at the top.

Before:

![image](https://github.com/user-attachments/assets/26902eb0-5d1a-480d-b6f5-c36a800a6bff)


After:

![image](https://github.com/user-attachments/assets/7837684c-37a7-4b2e-a875-47972cf1671f)
This commit is contained in:
Paul
2024-10-30 11:29:58 -06:00
committed by GitHub
parent 01ccbd48b0
commit d38d7b8932
3 changed files with 52 additions and 2 deletions

View File

@@ -98,6 +98,14 @@ export function FileSidebar() {
className={`${baseClass}__toggler`}
onClick={() => setShowFiles((prev) => !prev)}
>
<span className={`${baseClass}__toggler__label`}>
<strong
title={`${totalFileCount} ${t(totalFileCount > 1 ? 'upload:filesToUpload' : 'upload:fileToUpload')}`}
>
{totalFileCount}{' '}
{t(totalFileCount > 1 ? 'upload:filesToUpload' : 'upload:fileToUpload')}
</strong>
</span>
<ChevronIcon direction={showFiles ? 'down' : 'up'} />
</Button>