Skip to content

Commit

Permalink
header breaks into 2 rows at md
Browse files Browse the repository at this point in the history
  • Loading branch information
pantheredeye committed Dec 6, 2024
1 parent 23b6137 commit d1669ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/layouts/MainLayout/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const MainLayout = ({ children }) => {

return (
<div className="flex min-h-screen flex-col bg-gray-900 text-gray-900">
<header className="flex items-center justify-between bg-gray-900 px-6 py-4 text-white shadow">
<h1 className="text-2xl font-bold">
<header className="flex flex-wrap items-center justify-between bg-gray-900 px-6 py-4 text-white shadow">
<h1 className="w-full md:w-auto text-2xl font-bold text-center md:text-left">
<i>
Stormwater Management - <u>T</u>he <u>O</u>ne <u>P</u>rogram
</i>
</h1>
<nav>
<nav className="w-full md:w-auto flex justify-center md:justify-end mt-4 md:mt-0 space-x-4 md:space-x-0">
<Link to={routes.home()} className="px-4">
Home
</Link>
Expand Down

0 comments on commit d1669ff

Please sign in to comment.