fix borderRadius for single email

This commit is contained in:
gitstart-omnivore 2022-03-23 21:16:01 +00:00
parent 1ff66da756
commit 77b97c493e
2 changed files with 6 additions and 3 deletions

View file

@ -71,7 +71,7 @@ export type DropdownAlignment =
type DropdownProps = {
labelText?: string
triggerElement: React.ReactNode
children: React.ReactNode
children: React.ReactNode,
styledArrow?: boolean
align?: DropdownAlignment
}

View file

@ -301,9 +301,12 @@ export default function EmailsPage(): JSX.Element {
background: 'rgba(255, 234, 159, 0.12)',
},
'@mdDown': {
borderRadius: i === 0 ? '5px 5px 0 0 ' : '',
borderTopLeftRadius: i === 0 ? '5px' : '',
borderTopRightRadius: i === 0 ? '5px' : '',
},
borderRadius: isLastChild ? '0 0 5px 5px' : '',
borderBottomLeftRadius: isLastChild ? '5px' : '',
borderBottomRightRadius: isLastChild ? '5px' : '',
}}
>
<Box