💄 Better toast UI when it doesn't contain details

This commit is contained in:
Baptiste Arnaud
2023-04-27 15:07:08 +02:00
parent 9e8acd97aa
commit e827da7b6b
2 changed files with 5 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ export const Toast = ({
shadow="sm"
fontSize="sm"
pos="relative"
maxW="450px"
maxW={details ? '450px' : '300px'}
>
<HStack alignItems="flex-start" pr="7" spacing="3" w="full">
<Icon customIcon={icon} status={status} />{' '}