diff --git a/index.html b/index.html index 4e2ceecc..fda092f5 100644 --- a/index.html +++ b/index.html @@ -349,7 +349,7 @@ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); - grid-auto-rows: 6rem; + grid-auto-rows: min-content; grid-column-gap: 0.375rem; grid-row-gap: 0.375rem; grid-auto-flow: dense; @@ -367,6 +367,10 @@ .grid-item { background-color: #757575; + display: flex; + flex-direction: column; + justify-content: center; + padding: 1rem; text-align: center; } .grid-item--light { @@ -405,7 +409,6 @@ .grid-item__link { display: block; - padding: 1rem 1rem 0; text-align: center; width: 100%; } @@ -420,9 +423,6 @@ font-weight: 400; line-height: 1rem; margin: 0; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; } .grid-item__subtitle {