|
|
@@ -40,7 +40,7 @@ export function AssetBulkActions({ selection, bulkActions, refetch }: Readonly<A
|
|
|
|
|
|
const { position, shouldShow } = useFloatingBulkActions({
|
|
|
selectionCount: selection.length,
|
|
|
- containerSelector: '[data-asset-gallery]'
|
|
|
+ containerSelector: '[data-asset-gallery]',
|
|
|
});
|
|
|
|
|
|
if (!shouldShow) {
|
|
|
@@ -70,12 +70,12 @@ export function AssetBulkActions({ selection, bulkActions, refetch }: Readonly<A
|
|
|
|
|
|
return (
|
|
|
<div
|
|
|
- className="flex items-center gap-4 px-8 py-2 animate-in fade-in duration-200 fixed transform -translate-x-1/2 bg-white shadow-2xl rounded-md border z-50"
|
|
|
+ className="flex items-center gap-4 px-8 py-2 animate-in fade-in duration-200 fixed transform -translate-x-1/2 bg-background shadow-2xl rounded-md border z-50"
|
|
|
style={{
|
|
|
height: 'auto',
|
|
|
maxHeight: '60px',
|
|
|
bottom: position.bottom,
|
|
|
- left: position.left
|
|
|
+ left: position.left,
|
|
|
}}
|
|
|
>
|
|
|
<span className="text-sm text-muted-foreground">
|