mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix borderRadius for single email
This commit is contained in:
parent
1ff66da756
commit
77b97c493e
2 changed files with 6 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ export type DropdownAlignment =
|
|||
type DropdownProps = {
|
||||
labelText?: string
|
||||
triggerElement: React.ReactNode
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode,
|
||||
styledArrow?: boolean
|
||||
align?: DropdownAlignment
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue