Adding testing app during initial load

This commit is contained in:
frikky
2020-05-15 10:18:47 +02:00
parent e0369a0e50
commit 3a87451beb
5 changed files with 225 additions and 28 deletions
+2 -2
View File
@@ -167,9 +167,9 @@ const Apps = (props) => {
}
var imageline = data.large_image.length === 0 ?
<img alt="" style={{width: 100}} />
<img alt="Image missing" style={{width: 100, height: 100}} />
:
<img alt="" src={data.large_image} style={{width: 100, height: 100, objectFit: "cover"}} />
<img alt={data.title} src={data.large_image} style={{width: 100, height: 100, maxWidth: "100%"}} />
// FIXME - add label to apps, as this might be slow with A LOT of apps
var newAppname = data.name