Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3292541
D9285.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9285.diff
View Options
diff --git a/native/profile/relationship-list-item.react.js b/native/profile/relationship-list-item.react.js
--- a/native/profile/relationship-list-item.react.js
+++ b/native/profile/relationship-list-item.react.js
@@ -166,14 +166,12 @@
}
return (
- <View style={this.props.styles.container}>
- <View style={[this.props.styles.innerContainer, borderBottom]}>
- <UserAvatar size="S" userID={this.props.userInfo.id} />
- <SingleLine style={this.props.styles.username}>
- {this.props.userInfo.username}
- </SingleLine>
- {editButton}
- </View>
+ <View style={[this.props.styles.container, borderBottom]}>
+ <UserAvatar size="S" userID={this.props.userInfo.id} />
+ <SingleLine style={this.props.styles.username}>
+ {this.props.userInfo.username}
+ </SingleLine>
+ {editButton}
</View>
);
}
@@ -269,19 +267,13 @@
}
const unboundStyles = {
- editButton: {
- paddingLeft: 10,
- },
container: {
flex: 1,
- paddingHorizontal: 12,
- backgroundColor: 'panelForeground',
- },
- innerContainer: {
+ flexDirection: 'row',
+ paddingHorizontal: 24,
paddingVertical: 10,
- paddingHorizontal: 12,
+ backgroundColor: 'panelForeground',
borderColor: 'panelForegroundBorder',
- flexDirection: 'row',
},
borderBottom: {
borderBottomWidth: 1,
@@ -299,6 +291,9 @@
lineHeight: 20,
marginLeft: 8,
},
+ editButton: {
+ paddingLeft: 10,
+ },
blueAction: {
color: 'link',
fontSize: 16,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 4:36 PM (21 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2530092
Default Alt Text
D9285.diff (1 KB)
Attached To
Mode
D9285: [native] simplify RelationshipListItem jsx
Attached
Detach File
Event Timeline
Log In to Comment