Commit dc950b42 authored by tom's avatar tom

fix tags

parent 7cebfd81
...@@ -33,7 +33,7 @@ const sizes = { ...@@ -33,7 +33,7 @@ const sizes = {
}; };
const baseStyleContainer = defineStyle({ const baseStyleContainer = defineStyle({
display: 'inline-flex', display: 'inline-block',
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
borderRadius: 'sm', borderRadius: 'sm',
......
...@@ -14,7 +14,7 @@ const TxStatus = ({ status }: Props) => { ...@@ -14,7 +14,7 @@ const TxStatus = ({ status }: Props) => {
const colorScheme = status === 'success' ? 'green' : 'red'; const colorScheme = status === 'success' ? 'green' : 'red';
return ( return (
<Tag colorScheme={ colorScheme }> <Tag colorScheme={ colorScheme } display="inline-flex">
<TagLeftIcon boxSize={ 2.5 } as={ icon }/> <TagLeftIcon boxSize={ 2.5 } as={ icon }/>
<TagLabel>{ label }</TagLabel> <TagLabel>{ label }</TagLabel>
</Tag> </Tag>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment