Page MenuHomePhabricator

D9285.diff
No OneTemporary

D9285.diff

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

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)

Event Timeline