fix: Update the style of the batch operation component (#22716)

This commit is contained in:
GuanMu
2025-07-21 17:39:40 +08:00
committed by GitHub
parent 62b29b3d76
commit 8246f946c2

View File

@@ -43,8 +43,8 @@ const BatchAction: FC<IBatchActionProps> = ({
hideDeleteConfirm() hideDeleteConfirm()
} }
return ( return (
<div className={classNames('w-full flex justify-center gap-x-2', className)}> <div className={classNames('pointer-events-none flex w-full justify-center gap-x-2', className)}>
<div className='flex items-center gap-x-1 rounded-[10px] border border-components-actionbar-border-accent bg-components-actionbar-bg-accent p-1 shadow-xl shadow-shadow-shadow-5 backdrop-blur-[5px]'> <div className='pointer-events-auto flex items-center gap-x-1 rounded-[10px] border border-components-actionbar-border-accent bg-components-actionbar-bg-accent p-1 shadow-xl shadow-shadow-shadow-5 backdrop-blur-[5px]'>
<div className='inline-flex items-center gap-x-2 py-1 pl-2 pr-3'> <div className='inline-flex items-center gap-x-2 py-1 pl-2 pr-3'>
<span className='flex h-5 w-5 items-center justify-center rounded-md bg-text-accent px-1 py-0.5 text-xs font-medium text-text-primary-on-surface'> <span className='flex h-5 w-5 items-center justify-center rounded-md bg-text-accent px-1 py-0.5 text-xs font-medium text-text-primary-on-surface'>
{selectedIds.length} {selectedIds.length}