Fixed issue where the last feature expands to fill the whole last row
This commit is contained in:
parent
f6feb7a7e7
commit
ae50611acc
1 changed files with 3 additions and 7 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue