This commit is contained in:
@@ -1092,15 +1092,24 @@ export default function UsersScreen() {
|
||||
// Card
|
||||
cardHeader: {
|
||||
flexDirection: "row",
|
||||
justifyContent: "space-between",
|
||||
flexWrap: "wrap",
|
||||
alignItems: "flex-start",
|
||||
rowGap: spacing.xs,
|
||||
},
|
||||
userInfo: {
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
flex: 1,
|
||||
flexGrow: 1,
|
||||
flexShrink: 1,
|
||||
flexBasis: 170,
|
||||
gap: spacing.m,
|
||||
},
|
||||
cardActions: {
|
||||
flexDirection: "row",
|
||||
flexWrap: "wrap",
|
||||
justifyContent: "flex-end",
|
||||
marginLeft: "auto",
|
||||
},
|
||||
roleIcon: {
|
||||
width: 40,
|
||||
height: 40,
|
||||
@@ -1308,7 +1317,9 @@ export default function UsersScreen() {
|
||||
/>
|
||||
</View>
|
||||
<View style={{ flex: 1 }}>
|
||||
<Text style={styles.username}>{item.username}</Text>
|
||||
<Text style={styles.username} numberOfLines={2}>
|
||||
{item.username}
|
||||
</Text>
|
||||
<View
|
||||
style={[
|
||||
styles.roleBadge,
|
||||
@@ -1316,6 +1327,7 @@ export default function UsersScreen() {
|
||||
]}
|
||||
>
|
||||
<Text
|
||||
numberOfLines={1}
|
||||
style={[
|
||||
styles.roleBadgeText,
|
||||
{ color: roleColor },
|
||||
@@ -1326,7 +1338,7 @@ export default function UsersScreen() {
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
<View style={{ flexDirection: "row", gap: spacing.xs }}>
|
||||
<View style={styles.cardActions}>
|
||||
{isClient && (
|
||||
<>
|
||||
{referralEnabled && (
|
||||
|
||||
Reference in New Issue
Block a user