Skip to content

Commit

Permalink
Update display cols
Browse files Browse the repository at this point in the history
  • Loading branch information
chartgerink committed Oct 9, 2024
1 parent 46528ec commit 10ed034
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import Grid from './Grid';

function App() {
return (
<div className="App">
<header className="App-header">

<div className="md:flex flex-col min-h-screen">
<header className="grow-0 items-center text-center">
<h1>Find your next epidemiology tools</h1>
</header>
<Grid first={<div>Column/Row 1</div>} second={<div>Column/Row 2</div>} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

const ResponsiveGrid = ({first, second}: any) => {
return (
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 min-h-screen">
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 grow">
<div className="bg-blue-500 p-4">{first}</div>
<div className="bg-green-500 p-4">{second}</div>
</div>
Expand Down

0 comments on commit 10ed034

Please sign in to comment.