I currently have a row with 6 columns, but when they can't fit next to each other on the screen, 2 of them get pushed below, resulting in a messy layout.
I could use a media query to solve this issue, however, I am curious if there is a better way to neatly arrange the 2 columns that are moved below.
Perhaps this image demonstrates the problem more clearly:
Here's an example of the code:
<div class="row">
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'python_logo.png' %}" alt="python_logo">
<p>
python
</p>
</div>
</div>
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'AWS-logo-2.jpg' %}" alt="aws_logo">
<p>
aws
</p>
</div>
</div>
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'selenium.png' %}" alt="selenium_logo">
<p>
selenium
</p>
</div>
</div>
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'Csharp_Logo.png' %}" alt="csharp_logo">
<p>
C#
</p>
</div>
</div>
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'django.png' %}" alt="django_logo">
<p>
django
</p>
</div>
</div>
<div class="col-sm-2 quick_skills_col" id="box">
<div class = "quick_skill">
<img class="quick_skill_img" src="{% static 'docker.png' %}" alt="docker_logo">
<p>
docker
</p>
</div>
</div>
</div>