diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 9f71a5d..b7ad303 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -16,8 +16,26 @@ } } -.buttons { +.buttonsContainer { display: flex; + flex-direction: row; + flex-wrap: wrap; align-items: center; + margin: 0 auto; + justify-content: center; +} + +.buttons { + display: flex; + flex-direction: row; + flex-wrap: wrap; justify-content: center; + align-items: center; + width: 100%; +} + +.buttons > div { + flex: 1 1 auto; + margin: 5px; + text-align: center; } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0f8c9e0..c1ade62 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -17,22 +17,25 @@ function HomepageHeader() { {siteConfig.title}

{siteConfig.tagline}

-
- - Get started - - - - Take a look at our maps - +
+
+
+ + Get started + +
+
+ + Take a look at our maps + +
+