As you can see the text is not in line with the text below. I am using justify-content: space-between for this, and think this is the problem but I can’t think of a solution.
<style>
li {
list-style-type: none;
background: cornflowerblue;
margin: 50px auto;
padding: 5px 10px;
border-radius: 10px;
display: flex;
align-items: center;
width: 1000px;
justify-content:space-between;
}
ul {
margin-left: 0;
padding-left: 0;
}
</style>
<ul>
<li v-for="project in projectsInfo">
<h3>{{ project.title }}</h3>
<h3>{{ project.date }}</h3>
<h3>{{ project.role }}</h3>
<h3>{{ project.visits }}</h3>
<h3 :href='project.link'>GAME LINK</h3>
</li>
</ul>
2
Answers
Using table would be better approach to achieve such scenario. Although, try with giving fixed width.
Just specify a width for each inner column inside a li element: