mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 23:11:13 -05:00
Fix: Display and enlarge entity names
This commit is contained in:
@@ -630,9 +630,27 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
|
|||||||
{item.content.content && (
|
{item.content.content && (
|
||||||
<p className="text-sm mb-2">{item.content.content}</p>
|
<p className="text-sm mb-2">{item.content.content}</p>
|
||||||
)}
|
)}
|
||||||
<div className="flex items-center gap-2 text-sm text-muted-foreground">
|
<div className="flex items-center gap-2 text-sm text-muted-foreground mb-2">
|
||||||
<span>Rating: {item.content.rating}/5</span>
|
<span>Rating: {item.content.rating}/5</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Entity Names for Reviews */}
|
||||||
|
{(item.entity_name || item.park_name) && (
|
||||||
|
<div className="space-y-1 mb-2">
|
||||||
|
{item.entity_name && (
|
||||||
|
<div className="text-sm text-muted-foreground">
|
||||||
|
<span className="text-xs">{item.park_name ? 'Ride:' : 'Park:'} </span>
|
||||||
|
<span className="text-base font-medium text-foreground">{item.entity_name}</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{item.park_name && (
|
||||||
|
<div className="text-sm text-muted-foreground">
|
||||||
|
<span className="text-xs">Park: </span>
|
||||||
|
<span className="text-base font-medium text-foreground">{item.park_name}</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{item.content.photos && item.content.photos.length > 0 && (
|
{item.content.photos && item.content.photos.length > 0 && (
|
||||||
<div className="mt-3">
|
<div className="mt-3">
|
||||||
<div className="text-sm font-medium mb-2">Attached Photos:</div>
|
<div className="text-sm font-medium mb-2">Attached Photos:</div>
|
||||||
@@ -771,14 +789,14 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
|
|||||||
</div>
|
</div>
|
||||||
{item.entity_name && (
|
{item.entity_name && (
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<span className="font-medium">{item.content.content.context === 'ride' ? 'Ride:' : 'Park:'}</span>
|
<span className="font-medium text-xs">{item.content.content.context === 'ride' ? 'Ride:' : 'Park:'}</span>
|
||||||
<span className="font-medium text-foreground">{item.entity_name}</span>
|
<span className="font-medium text-foreground text-base">{item.entity_name}</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{item.park_name && item.content.content.context === 'ride' && (
|
{item.park_name && item.content.content.context === 'ride' && (
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<span className="font-medium">Park:</span>
|
<span className="font-medium text-xs">Park:</span>
|
||||||
<span className="font-medium text-foreground">{item.park_name}</span>
|
<span className="font-medium text-foreground text-base">{item.park_name}</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user