Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
+9
-13
@@ -171,20 +171,16 @@ const Index = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{model &&
|
{models.length > 0 && (
|
||||||
<div className="rounded-lg border border-primary/30 bg-primary/5 p-4 glow-primary">
|
<div className="rounded-lg border border-primary/30 bg-primary/5 p-3 glow-primary">
|
||||||
<div className="flex items-center gap-3">
|
<SceneModelList />
|
||||||
<Box className="h-5 w-5 text-primary" />
|
<p className="mt-2 text-center font-mono text-[10px] text-muted-foreground">
|
||||||
<div className="min-w-0 flex-1">
|
{models.length < maxModels
|
||||||
<p className="truncate font-mono text-sm font-medium text-foreground">{model.fileName}</p>
|
? `Você pode adicionar mais ${maxModels - models.length} peça(s) à cena`
|
||||||
<p className="text-xs text-muted-foreground">
|
: `Limite de ${maxModels} peças simultâneas atingido`}
|
||||||
{(model.fileSize / (1024 * 1024)).toFixed(2)} MB
|
</p>
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<CheckCircle className="h-5 w-5 text-success shrink-0" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
)}
|
||||||
|
|
||||||
{/* Enter viewer */}
|
{/* Enter viewer */}
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user