Fix share preference plugin layout flicker (#3903)

Summary:
The share preference plugin page flashes when INSPECTOR's width is too large.

## Changelog

Add 'overflowX: 'hidden'' to FlexRow.

Pull Request resolved: https://github.com/facebook/flipper/pull/3903

Test Plan: Pass the test on MAC.

Reviewed By: passy

Differential Revision: D38784840

Pulled By: mweststrate

fbshipit-source-id: 4ca3fc17ccc66767e75ce0f9ab7ad71741dbf15e
This commit is contained in:
Jacy
2022-08-18 06:35:20 -07:00
committed by Facebook GitHub Bot
parent efdc7e58c4
commit c863af6942

View File

@@ -180,7 +180,7 @@ export function Component() {
onChange={instance.setSelectedPreferences}
/>
</Heading>
<FlexRow grow scrollable>
<FlexRow grow scrollable style={{overflowX: 'hidden'}}>
<InspectorColumn>
<Heading>Inspector</Heading>
<ManagedDataInspector