Skip to content

Commit

Permalink
mobile view fix (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
nebudev14 committed Nov 12, 2022
1 parent 1edb424 commit 26ad987
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/modals/create-team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const CreateTeamModal: React.FC = () => {
event.preventDefault();
const target = event.target as typeof event.target & {
inviteId: { value: string };
};
};

await mutateJoinTeam.mutateAsync({
inviteId: target.inviteId.value,
Expand Down
2 changes: 1 addition & 1 deletion pages/scout/pit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const PitScout: NextPage = () => {

return (
<Protected>
<div className="min-h-screen py-12 px-96 dark:text-white md:px-4">
<div className="min-h-screen py-12 px-96 dark:text-white md:px-2">
<form onSubmit={submitData}>
<Container>
<label className="p-2 text-lg leading-tight border rounded shadow dark:bg-zinc-900 dark:border-zinc-700 bg-slate-200 focus:outline-none focus:shadow-outline">
Expand Down
2 changes: 1 addition & 1 deletion pages/teams/[number]/pitscout/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ViewPitScout: React.FC = () => {
<h1 className="text-xl">Team {data?.teamNumber}</h1>
<h1 className="mb-6 text-xl">{data?.name}</h1>

<div className="grid grid-cols-3 gap-6">
<div className="grid grid-cols-3 gap-6 md:grid-cols-1">
{teams?.map((entry, i) => (
<div
key={i}
Expand Down

0 comments on commit 26ad987

Please sign in to comment.