1.1
Browse files- VitaMahjong.html +7 -3
VitaMahjong.html
CHANGED
|
@@ -381,12 +381,16 @@
|
|
| 381 |
tileElement.className = `tile aspect-square cursor-pointer transition-all duration-300 ${tile.matched ? 'opacity-0' : ''}`;
|
| 382 |
|
| 383 |
tileElement.innerHTML = `
|
| 384 |
-
<div class="tile-inner ${
|
| 385 |
-
|
|
|
|
|
|
|
| 386 |
<i class="fa-brands fa-fort-awesome text-sm sm:text-5xl"></i>
|
| 387 |
</div>
|
| 388 |
<div class="tile-front">
|
| 389 |
-
<span class="text-xl sm:text-4xl font-bold">${getTileSymbol(
|
|
|
|
|
|
|
| 390 |
</div>
|
| 391 |
</div>
|
| 392 |
`;
|
|
|
|
| 381 |
tileElement.className = `tile aspect-square cursor-pointer transition-all duration-300 ${tile.matched ? 'opacity-0' : ''}`;
|
| 382 |
|
| 383 |
tileElement.innerHTML = `
|
| 384 |
+
<div class="border-t-2 border-r-2 border-indigo-500/50 border-l-8 border-b-8 tile-inner ${
|
| 385 |
+
tile.flipped ? "flipped" : ""
|
| 386 |
+
}">
|
| 387 |
+
<div class="rounded-none tile-back flex items-center justify-center">
|
| 388 |
<i class="fa-brands fa-fort-awesome text-sm sm:text-5xl"></i>
|
| 389 |
</div>
|
| 390 |
<div class="tile-front">
|
| 391 |
+
<span class="text-xl sm:text-4xl font-bold">${getTileSymbol(
|
| 392 |
+
tile.type
|
| 393 |
+
)}</span>
|
| 394 |
</div>
|
| 395 |
</div>
|
| 396 |
`;
|