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