Update Export.jsx

Prevent filename overflow in export list
This commit is contained in:
civita 2023-12-25 11:07:48 -07:00 committed by GitHub
parent c35c7da82a
commit fcc0eeb587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ function Exports({ exports, onSetClip, onDeleteClip }) {
<div> <div>
<ActivityIndicator size="sm" /> <ActivityIndicator size="sm" />
</div> </div>
<div className="px-2">{item.name.substring(12, item.name.length - 4)}</div> <div className="px-2 overflow-hidden">{item.name.substring(12, item.name.length - 4)}</div>
</div> </div>
) : ( ) : (
<div className="flex justify-start items-center"> <div className="flex justify-start items-center">