Set Line Height for ToggleSwitch (ToggleButton)
Summary: Set line height to make space between lines look better in cramper space (See Test Plan). This has direct side effect on: - https://fburl.com/diffusion/0dtt1cgl - ToggledSection component In addition, this diff adds an offline cache. Reviewed By: mweststrate Differential Revision: D20574486 fbshipit-source-id: 8689bc95e2f18409e82c923fea361e033e77bc00
This commit is contained in:
committed by
Facebook GitHub Bot
parent
74d8da7c4b
commit
69fc5e8834
@@ -47,6 +47,7 @@ Container.displayName = 'ToggleSwitch:Container';
|
|||||||
const Label = styled(Text)({
|
const Label = styled(Text)({
|
||||||
marginLeft: 7,
|
marginLeft: 7,
|
||||||
marginRight: 7,
|
marginRight: 7,
|
||||||
|
lineHeight: 1.3,
|
||||||
});
|
});
|
||||||
Label.displayName = 'ToggleSwitch:Label';
|
Label.displayName = 'ToggleSwitch:Label';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user