... |
... |
@@ -27,14 +27,14 @@ |
27 |
27 |
background-color: #f1f1f1; |
28 |
28 |
} |
29 |
29 |
img { |
30 |
|
- max-width: 100px; /* Ajusta el tamaño de la imagen según sea necesario */ |
31 |
|
- height: auto; |
|
30 |
+ width: 111px; /* Ajusta el ancho de la imagen */ |
|
31 |
+ height: 151px; /* Ajusta la altura de la imagen */ |
|
32 |
+ object-fit: cover; /* Mantiene la relación de aspecto y recorta si es necesario */ |
32 |
32 |
} |
33 |
33 |
</style> |
34 |
34 |
<table> |
35 |
35 |
<thead> |
36 |
36 |
<tr> |
37 |
|
- <th>ID</th> |
38 |
38 |
<th>TITULO</th> |
39 |
39 |
<th>SISTEMA</th> |
40 |
40 |
<th>COMPLETADO</th> |
... |
... |
@@ -48,11 +48,10 @@ |
48 |
48 |
db.eachRow('SELECT * FROM games_list') { row -> |
49 |
49 |
table += """ |
50 |
50 |
<tr> |
51 |
|
- <td>${row.id}</td> |
52 |
52 |
<td>${row.titulo}</td> |
53 |
53 |
<td>${row.sistema}</td> |
54 |
54 |
<td>${row.estado}</td> |
55 |
|
- <td><img src='${row.caratula}'/></td> |
|
54 |
+ <td><img src='/images_wiki/${row.caratula}' style='width: 112px; height: 154px;'/></td> |
56 |
56 |
</tr> |
57 |
57 |
""" |
58 |
58 |
} |