Skip to content

Commit

Permalink
Adjust Nylanderinpuisto to 5/14 of vertical space
Browse files Browse the repository at this point in the history
1/3 was not enough because A.I. Virtasen aukio and Nylanderinpuisto both have header rows too. There are 14 rows total so 5/14 should be correct. Also add flex-wrap so there are no partial rows visible.
  • Loading branch information
Tuupertunut committed Dec 22, 2024
1 parent ad91133 commit a613085
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(infoscreen)/@transit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ const Transit = async () => {
{leftStoptimes}
</div>
<div className="flex size-full w-1/3 flex-col">
<div className="flex h-2/3 w-full flex-col">
<div className="flex h-9/14 w-full flex-col flex-wrap">
<div className="flex w-full justify-between bg-sky-700 p-3">
<p>A.I. Virtasen aukio</p>
</div>
{rightStoptimes}
</div>
<div className="flex h-1/3 w-full flex-col">
<div className="flex h-5/14 w-full flex-col flex-wrap">
<div className="flex w-full justify-between bg-sky-700 p-3">
<p>Nylanderinpuisto</p>
</div>
Expand Down
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ module.exports = {
m_plus_rounded: ['var(--font-m-plus-rounded)'],
gabarito: ['var(--font-gabarito)'],
},
spacing: {
'5/14': '35.714286%',
'9/14': '64.285714%',
},
},
},
plugins: [],
Expand Down

0 comments on commit a613085

Please sign in to comment.