Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make revoke button less terrible on mobile
  • Loading branch information
regalijan committed Oct 22, 2023
1 parent 24bbc98 commit b453783
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/routes/hammer.tsx
Expand Up @@ -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) {
Expand Down Expand Up @@ -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
Expand All @@ -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">
Expand Down

0 comments on commit b453783

Please sign in to comment.