StatusIndicator: support inline contexts.
Summary: `StatusIndicator` works well as a flex child, but didn’t support usage in inline / text contexts. Adding `display: inline-block` fixes that. Reviewed By: danielbuechele Differential Revision: D15695673 fbshipit-source-id: 30378d2292390b8d86c0a26c11571e5953b841f2
This commit is contained in:
committed by
Facebook Github Bot
parent
4d6b39ae42
commit
6792fb0bea
@@ -20,6 +20,7 @@ const StatusIndicator: Props => Element<'div'> = styled('div')(
|
||||
backgroundColor: statusColor,
|
||||
border: `1px solid ${colors.blackAlpha30}`,
|
||||
borderRadius: '50%',
|
||||
display: 'inline-block',
|
||||
flexShrink: 0,
|
||||
height: diameter,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user