diff --git a/components/puzzlehunt.tsx b/components/puzzlehunt.tsx index 0fb419d..42c3284 100644 --- a/components/puzzlehunt.tsx +++ b/components/puzzlehunt.tsx @@ -42,6 +42,9 @@ const TableHeaderCell = styled.th<{ hideSmall?: boolean }>` :last-of-type { border-top-right-radius: 20px; } + @media (max-width: 960px) { + padding: 10px 10px; + } ${(props) => props.hideSmall && hideSmallCss} `; @@ -51,6 +54,9 @@ const TableCell = styled.td<{ hideSmall?: boolean }>` :last-of-type { border-right: none; } + @media (max-width: 960px) { + padding: 5px 5px; + } ${(props) => props.hideSmall && hideSmallCss} `; @@ -76,7 +82,7 @@ export function PuzzlesTable({ puzzles }: { puzzles: Puzzle[] }) { Name - Credits + Credits Puzzle Solution @@ -85,7 +91,7 @@ export function PuzzlesTable({ puzzles }: { puzzles: Puzzle[] }) { {puzzles.map((puzzle, index) => ( {puzzle.name} - {puzzle.credits} + {puzzle.credits} Puzzle @@ -111,7 +117,7 @@ export function Credits({ credits }: { credits: { [id: string]: string[] } }) { return ( {Object.entries(credits).map(([key, value]) => ( -
+

{key}

{value.map((person, index) => (