mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix handling across elements styling
Summary: Changelog: [Internal] Adjust styling so test works on mobile screen and verified Android is passing Reviewed By: mdvacca Differential Revision: D40247320 fbshipit-source-id: c39bff510900393af7696e92e1f846999eb0ced3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
53f1f6b9cd
commit
f8996f1ea2
@@ -39,9 +39,11 @@ export default function RNTesterPlatformTest(props: Props): React.MixedElement {
|
||||
<View style={styles.root}>
|
||||
<View style={styles.testcaseContainer}>
|
||||
<Text style={[styles.textBlock, styles.title]}>{title}</Text>
|
||||
<Text style={[styles.textBlock, styles.description]}>
|
||||
{description}
|
||||
</Text>
|
||||
{description !== '' ? (
|
||||
<Text style={[styles.textBlock, styles.description]}>
|
||||
{description}
|
||||
</Text>
|
||||
) : null}
|
||||
<RNTesterPlatformTestInstructions
|
||||
instructions={instructions}
|
||||
style={[styles.instructions, styles.block]}
|
||||
|
||||
+5
-5
@@ -23,7 +23,7 @@ const styles = StyleSheet.create({
|
||||
width: 200,
|
||||
},
|
||||
b: {
|
||||
marginLeft: 100,
|
||||
marginLeft: 50,
|
||||
height: 120,
|
||||
width: 200,
|
||||
backgroundColor: 'green',
|
||||
@@ -32,8 +32,8 @@ const styles = StyleSheet.create({
|
||||
height: 120,
|
||||
width: 200,
|
||||
backgroundColor: 'yellow',
|
||||
marginVertical: 100,
|
||||
marginLeft: 100,
|
||||
marginVertical: 10,
|
||||
marginLeft: 50,
|
||||
},
|
||||
a1: {
|
||||
backgroundColor: 'blue',
|
||||
@@ -42,7 +42,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
b1: {
|
||||
padding: 1,
|
||||
marginLeft: 100,
|
||||
marginLeft: 50,
|
||||
height: 120,
|
||||
width: 200,
|
||||
backgroundColor: 'green',
|
||||
@@ -51,7 +51,7 @@ const styles = StyleSheet.create({
|
||||
height: 120,
|
||||
width: 200,
|
||||
backgroundColor: 'black',
|
||||
marginLeft: 100,
|
||||
marginLeft: 50,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user