Skip to content

Commit

Permalink
Hotfix: Fixed cols class for projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben69695 committed Jun 21, 2022
1 parent 72bcee4 commit 60e7d26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions core/static/core/css/portfolio.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
background-color: #16192A;
}

.col-project {
padding-right: 0px;
padding-left: 0px;
}

.row-project {
margin-right: 0px;
margin-left: 0px;
padding-right: 0px;
padding-left: 0px;
}

#container {
margin-top: 5vh;
margin-bottom: 5vh;
Expand Down
4 changes: 2 additions & 2 deletions portfolio/templates/portfolio/portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
{% endblock customcss %}
{% block content %}
<div id="container" class="container">
<div class="row">
<div class="row row-project">
{% for project in projects %}
<div class="col col-project m-3">
<div class="col-sm-3 col-project m-2">
<div class="card project h-100">
<div class="card-body">
<h5 class="card-title">{{ project.title }}</h5>
Expand Down

0 comments on commit 60e7d26

Please sign in to comment.