Fix toggle switch bug when Flipper's width is small
Summary:
Bug:
{F214979227}
Reviewed By: passy
Differential Revision: D17763781
fbshipit-source-id: 21890caee796ac0df6f39e618a762c44955dd647
This commit is contained in:
committed by
Facebook Github Bot
parent
ff76b17a5b
commit
d310027d88
@@ -19,6 +19,7 @@ export const StyledButton = styled('div')((props: {toggled: boolean}) => ({
|
|||||||
borderRadius: '100px',
|
borderRadius: '100px',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
marginLeft: '15px',
|
marginLeft: '15px',
|
||||||
|
flexShrink: 0,
|
||||||
'&::after': {
|
'&::after': {
|
||||||
content: '""',
|
content: '""',
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
|||||||
Reference in New Issue
Block a user