Skip to content

Commit

Permalink
Improved the problems
Browse files Browse the repository at this point in the history
  • Loading branch information
PavlosIsaris committed Dec 17, 2024
1 parent e975be4 commit 9217a58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/assets/js/vue-components/problem/Problems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
</div>
<ul class="row">
<li v-for="problem in problems" :key="problem.id" class="col-12 col-sm-6 col-md-6 col-lg-4">
<li v-for="problem in problems" :key="problem.id" class="col-12 col-sm-12 col-md-6 col-lg-6">
<a class="card-link" :href="getProblemPageURL(problem)">
<div class="card">
<div v-if="!problem.img_url" class="card-placeholder-img-container">
Expand All @@ -37,7 +37,7 @@
</svg>
</div>
<div v-else class="card-custom-img-container">
<img :src="problem.img_url" alt="decorative image for problem" width="282" height="180" />
<img :src="problem.img_url" alt="decorative image for problem" width="282" height="220" />
</div>
<div class="card-body">
<h5 class="card-title">
Expand Down Expand Up @@ -190,7 +190,7 @@ a.card-link {
background-color: var(--clr-secondary-grey);
padding-top: 3.7rem;
padding-bottom: 2.2rem;
height: 180px;
height: 220px;
svg {
width: 100%;
Expand All @@ -200,7 +200,7 @@ a.card-link {
.card-custom-img-container {
background-color: var(--clr-secondary-grey);
height: 180px;
height: 220px;
img {
width: 100%;
Expand Down

0 comments on commit 9217a58

Please sign in to comment.