style upload
All checks were successful
Build and Deploy / Build & Push Image (push) Successful in 31s
All checks were successful
Build and Deploy / Build & Push Image (push) Successful in 31s
This commit is contained in:
@@ -52,7 +52,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
||||
class={[
|
||||
"inline-flex items-center justify-center font-black rounded leading-none shrink-0",
|
||||
"bg-base-300/20 text-base-content/25 ring-1 ring-base-300/30",
|
||||
if(@compact, do: "text-[9px] w-4 h-4", else: "text-[10px] w-5 h-5")
|
||||
if(@compact, do: "text-[11px] w-6 h-6", else: "text-sm w-7 h-7")
|
||||
]}
|
||||
>
|
||||
?
|
||||
@@ -101,7 +101,7 @@ defmodule CobblemonUiWeb.PokemonComponents do
|
||||
rel="noopener noreferrer"
|
||||
class={[
|
||||
"inline-flex items-center justify-center font-black rounded leading-none shrink-0 hover:scale-110 transition-transform",
|
||||
if(@compact, do: "text-[9px] w-4 h-4", else: "text-[10px] w-5 h-5"),
|
||||
if(@compact, do: "text-[11px] w-6 h-6", else: "text-sm w-7 h-7"),
|
||||
case @tier do
|
||||
"S" -> "bg-red-500/20 text-red-400 ring-1 ring-red-500/30 hover:bg-red-500/30"
|
||||
"A" -> "bg-orange-500/20 text-orange-400 ring-1 ring-orange-500/30 hover:bg-orange-500/30"
|
||||
|
||||
Reference in New Issue
Block a user