mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 18:11:12 -05:00
Refactor: Improve moderation queue layout
This commit is contained in:
@@ -192,7 +192,7 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
|
|||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<div className="space-y-6">
|
<div className={isMobile ? 'space-y-6' : 'grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-6'}>
|
||||||
{queueManager.items.map((item, index) => (
|
{queueManager.items.map((item, index) => (
|
||||||
<QueueItem
|
<QueueItem
|
||||||
key={item.id}
|
key={item.id}
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export const QueueItem = memo(({
|
|||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
key={item.id}
|
key={item.id}
|
||||||
className={`border-l-4 transition-all duration-300 ${
|
className={`h-full border-l-4 transition-all duration-300 ${
|
||||||
item._removing ? 'opacity-0 scale-95 pointer-events-none' : ''
|
item._removing ? 'opacity-0 scale-95 pointer-events-none' : ''
|
||||||
} ${
|
} ${
|
||||||
hasModeratorEdits ? 'ring-2 ring-blue-200 dark:ring-blue-800' : ''
|
hasModeratorEdits ? 'ring-2 ring-blue-200 dark:ring-blue-800' : ''
|
||||||
|
|||||||
Reference in New Issue
Block a user