Make revoke button less terrible on mobile
This commit is contained in:
parent
24bbc98624
commit
b45378367b
@ -102,7 +102,12 @@ export default function () {
|
||||
user,
|
||||
}: {
|
||||
history: { [k: string]: any }[];
|
||||
user: { avatar: string | null; current_status: string; id: number; name: string };
|
||||
user: {
|
||||
avatar: string | null;
|
||||
current_status: string;
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
} = await historyResp.json();
|
||||
|
||||
if (!history.length) {
|
||||
@ -313,7 +318,7 @@ export default function () {
|
||||
<Container mb={3} mt={3}>
|
||||
<Card visibility={visible ? "visible" : "hidden"}>
|
||||
<CardBody>
|
||||
<Flex>
|
||||
<Flex flexWrap="wrap" justifyContent="center">
|
||||
<Image mb="16" src={avatarUrl} />
|
||||
<Spacer />
|
||||
<Button
|
||||
@ -324,7 +329,7 @@ export default function () {
|
||||
Revoke Punishment
|
||||
</Button>
|
||||
</Flex>
|
||||
<Stack divider={<StackDivider />} spacing="6">
|
||||
<Stack divider={<StackDivider />} mt="8px" spacing="6">
|
||||
<Box>
|
||||
<Heading size="xs">USERNAME</Heading>
|
||||
<Text pt="2" fontSize="sm">
|
||||
|
Loading…
x
Reference in New Issue
Block a user