Fixed issue where the last feature expands to fill the whole last row

This commit is contained in:
Saud Fatayerji 2023-02-04 17:36:20 +03:00
parent f6feb7a7e7
commit ae50611acc

View file

@ -6,18 +6,14 @@
<style> <style>
.features-container { .features-container {
display: flex; display: grid;
flex-wrap: wrap; grid-template-columns: repeat(auto-fill, minmax(21rem, 3fr));
justify-content: space-between; gap: 25px 30px;
row-gap: 25px;
column-gap: 30px;
} }
.feature-card { .feature-card {
border: 1px solid rgba(0,0,0,.125); border: 1px solid rgba(0,0,0,.125);
border-radius: 0.25rem; border-radius: 0.25rem;
padding: 1.25rem; padding: 1.25rem;
width: 21rem;
flex-grow: 1;
} }
</style> </style>