Fix token preview rendering for token groups

This commit is contained in:
Mitchell McCaffrey
2021-06-12 21:25:03 +10:00
parent 359be5373b
commit 1eed2eb15d
4 changed files with 35 additions and 19 deletions

View File

@@ -23,7 +23,7 @@ const TokenImage = React.forwardRef(({ token, ...props }, ref) => {
<Box
title={props.alt}
aria-label={props.alt}
sx={{ width: "100%", height: "100%" }}
sx={{ width: "100%", height: "100%", minHeight: 0 }}
>
<TokenOutlineSVG
outline={token.outline}