PAD
Browse files
src/lib/components/Battle/BattleField.svelte
CHANGED
@@ -63,7 +63,7 @@
|
|
63 |
class="piclet-image enemy-image"
|
64 |
src={enemyPiclet.imageData || enemyPiclet.imageUrl}
|
65 |
alt={enemyPiclet.nickname}
|
66 |
-
on:error={(e) => e.currentTarget.src = 'https://via.placeholder.com/
|
67 |
/>
|
68 |
<img
|
69 |
class="platform enemy-platform"
|
@@ -184,17 +184,17 @@
|
|
184 |
}
|
185 |
|
186 |
.enemy-image {
|
187 |
-
width:
|
188 |
-
height:
|
189 |
object-fit: contain;
|
190 |
display: block;
|
191 |
}
|
192 |
|
193 |
.enemy-platform {
|
194 |
-
width:
|
195 |
-
height:
|
196 |
position: absolute;
|
197 |
-
bottom: -
|
198 |
left: -20px;
|
199 |
z-index: 0;
|
200 |
object-fit: cover;
|
@@ -243,9 +243,9 @@
|
|
243 |
}
|
244 |
|
245 |
.enemy-platform-fallback {
|
246 |
-
width:
|
247 |
-
height:
|
248 |
-
bottom: -
|
249 |
left: -20px;
|
250 |
}
|
251 |
|
@@ -346,8 +346,8 @@
|
|
346 |
|
347 |
@media (max-width: 768px) {
|
348 |
.enemy-image {
|
349 |
-
width:
|
350 |
-
height:
|
351 |
}
|
352 |
|
353 |
.player-image {
|
|
|
63 |
class="piclet-image enemy-image"
|
64 |
src={enemyPiclet.imageData || enemyPiclet.imageUrl}
|
65 |
alt={enemyPiclet.nickname}
|
66 |
+
on:error={(e) => e.currentTarget.src = 'https://via.placeholder.com/120x120?text=Piclet'}
|
67 |
/>
|
68 |
<img
|
69 |
class="platform enemy-platform"
|
|
|
184 |
}
|
185 |
|
186 |
.enemy-image {
|
187 |
+
width: 120px;
|
188 |
+
height: 120px;
|
189 |
object-fit: contain;
|
190 |
display: block;
|
191 |
}
|
192 |
|
193 |
.enemy-platform {
|
194 |
+
width: 160px;
|
195 |
+
height: 160px;
|
196 |
position: absolute;
|
197 |
+
bottom: -80px;
|
198 |
left: -20px;
|
199 |
z-index: 0;
|
200 |
object-fit: cover;
|
|
|
243 |
}
|
244 |
|
245 |
.enemy-platform-fallback {
|
246 |
+
width: 160px;
|
247 |
+
height: 160px;
|
248 |
+
bottom: -80px;
|
249 |
left: -20px;
|
250 |
}
|
251 |
|
|
|
346 |
|
347 |
@media (max-width: 768px) {
|
348 |
.enemy-image {
|
349 |
+
width: 120px;
|
350 |
+
height: 120px;
|
351 |
}
|
352 |
|
353 |
.player-image {
|