diff --git a/src/pages/home/Home.module.scss b/src/pages/home/Home.module.scss index f2ed2a24..501cc92a 100644 --- a/src/pages/home/Home.module.scss +++ b/src/pages/home/Home.module.scss @@ -26,16 +26,10 @@ } .actions { - // grid-template-columns: repeat(2, 300px); - // grid-template-columns: 300px 300px; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); - grid-column: span 2; - gap: 16px; - //margin: auto; display: grid; - width: fit-content; - align-items: stretch; - flex-direction: column; + grid-template-columns: repeat(2, 1fr); + gap: 16px; + max-width: 650px; margin-bottom: 20px; a { @@ -49,6 +43,10 @@ margin: 0; } } + + @media (max-width: 600px) { + grid-template-columns: repeat(1, 1fr); + } } } }