Пояснение: тег .tech-used предназначен только для родительского элемента. элемент, но я не включил его в фрагмент кода JSX.
{project.skills.map((skill, index) => (
{skill.name}
))}
.tech-used{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.tech-grid{
display: grid;
grid-template-columns: repeat(4,1fr);
gap: 30px;
justify-content: center;
}
.tech-item{
display: flex;[![enter image description here][1]][1]
flex-direction: column;
align-items: center;
}
Подробнее здесь: https://stackoverflow.com/questions/793 ... id-css-jsx