Fix token label position with large tokens
This commit is contained in:
parent
5575e985dc
commit
974e1d5792
@ -11,9 +11,10 @@ function TokenLabel({ label }) {
|
|||||||
transform: "scale(0.3) translate(0, 20%)",
|
transform: "scale(0.3) translate(0, 20%)",
|
||||||
transformOrigin: "bottom center",
|
transformOrigin: "bottom center",
|
||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
|
width: "100%",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Image src={tokenLabel} />
|
<Image sx={{ width: "100%" }} src={tokenLabel} />
|
||||||
<svg
|
<svg
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
|
Loading…
Reference in New Issue
Block a user