I have a grid with three items, and the last two are "spaced upwards" for some reason.
.item {
display: grid;
grid-template-columns: 50% 25% 25%;
grid-template-areas: "name edit remove"
}
.item-name {
grid-area: name;
}
.item-edit {
grid-area: edit;
}
.item-remove {
grid-area: remove;
}
<div class="item">
<p class="item-name">1 Arrow</p>
<a class="item-edit" href="#">Edit</a>
<a class="item-remove" href="#">Remove</a>
</div>
The "Edit" and "Remove" are spaced upwards instead of on the same line as the "1 Arrow".