This commit is contained in:
@@ -391,7 +391,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
|||||||
"w-11 h-11 rounded-full flex items-center justify-center shrink-0 shadow-sm mt-0.5",
|
"w-11 h-11 rounded-full flex items-center justify-center shrink-0 shadow-sm mt-0.5",
|
||||||
TypeChart.type_color(@type_name)
|
TypeChart.type_color(@type_name)
|
||||||
]}>
|
]}>
|
||||||
<img src={TypeChart.type_icon_path(@type_name)} alt={@type_name} class="w-6 h-6" />
|
<img src={"/images/types/#{@type_name}.svg"} alt={@type_name} class="w-6 h-6" />
|
||||||
</div>
|
</div>
|
||||||
<%!-- Weakness / Resistance rows --%>
|
<%!-- Weakness / Resistance rows --%>
|
||||||
<div class="flex-1 min-w-0">
|
<div class="flex-1 min-w-0">
|
||||||
@@ -445,7 +445,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
|||||||
]}
|
]}
|
||||||
title={@type_name}
|
title={@type_name}
|
||||||
>
|
>
|
||||||
<img src={TypeChart.type_icon_path(@type_name)} alt={@type_name} class="w-3 h-3" />
|
<img src={"/images/types/#{@type_name}.svg"} alt={@type_name} class="w-3 h-3" />
|
||||||
</span>
|
</span>
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user