mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
use small tank icons
This commit is contained in:
1 parent
85883cd2c5
commit
6e759e52c9
1 file changed
+1
-1
@@ -17,7 +17,7 @@ export function SmallTankIcon({ id, size = HEIGHT }: SmallTankIconProps) {
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt={`Tank ${id}`}
|
alt={`Tank ${id}`}
|
||||||
src={`/tanks/${id}/icons/small.webp`}
|
src={`/api/tanks/${id}/icons/small.webp`}
|
||||||
style={{
|
style={{
|
||||||
transform: `scale(${(size / HEIGHT) * 100}%)`,
|
transform: `scale(${(size / HEIGHT) * 100}%)`,
|
||||||
transformOrigin: "top left",
|
transformOrigin: "top left",
|
||||||
|
|||||||
Reference in new issue
Block a user