mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-18 00:10:45 +00:00
feat: workshop pt3
This commit is contained in:
@@ -373,7 +373,7 @@ function PackageCard({ pkg, index, focused, onHover, onClick }: {
|
||||
{imgError ? (
|
||||
<span className="text-[#555] text-sm mc-text-shadow uppercase">No Image</span>
|
||||
) : (
|
||||
<img src={thumbnailUrl} alt={pkg.name} className="w-full h-full object-cover"
|
||||
<img src={thumbnailUrl} alt={pkg.name} className="w-full h-full object-contain object-center"
|
||||
style={{ imageRendering: 'pixelated' }} onError={() => setImgError(true)} />
|
||||
)}
|
||||
</div>
|
||||
@@ -452,7 +452,7 @@ function PackageModal({ pkg, onClose, playPressSound }: {
|
||||
<span className="text-[#555] mc-text-shadow uppercase">No Image</span>
|
||||
</div>
|
||||
) : (
|
||||
<img src={thumbnailUrl} alt={pkg.name} className="w-full h-full object-cover"
|
||||
<img src={thumbnailUrl} alt={pkg.name} className="w-full h-full object-contain object-center"
|
||||
style={{ imageRendering: 'pixelated' }} onError={() => setImgError(true)} />
|
||||
)}
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent" />
|
||||
|
||||
Reference in New Issue
Block a user