Skip to content

Commit

Permalink
fix(copyright): fix responsiveness for lists
Browse files Browse the repository at this point in the history
When viewing the site on a small viewport, only one list per column should be shown.
  • Loading branch information
daveroverts committed Mar 16, 2022
1 parent 7e0d8fb commit 2602cff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/Copyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import pkg from "package.json";

export default function Copyright() {
return (
<Text color="dimmed">
<Text color="dimmed" size="xs">
Copyright © 2021
{new Date().getFullYear() > 2021 && `-${new Date().getFullYear()}`}{" "}
<Text
variant="link"
size="xs"
component="a"
href="https://github.com/daveroverts/cpt-movements-tracker"
target="_blank"
Expand Down
4 changes: 2 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Home() {
CPT Movements Tracker [{departures.length + arrivals.length}]
</Title>
<Grid mt="xs">
<Grid.Col span={6}>
<Grid.Col xs={12} md={6}>
<AircraftList
title="Departures"
icon={<PlaneDeparture />}
Expand All @@ -60,7 +60,7 @@ export default function Home() {
}}
/>
</Grid.Col>
<Grid.Col span={6}>
<Grid.Col xs={12} md={6}>
<AircraftList
title="Arrivals"
icon={<PlaneArrival />}
Expand Down

0 comments on commit 2602cff

Please sign in to comment.