Skip to content

Commit

Permalink
Fix long challenge title truncating by expanding all buttons on that …
Browse files Browse the repository at this point in the history
…row (#97)

Fix long challenge title truncating by expanding all buttons on that row
  • Loading branch information
ColdHeat authored Oct 8, 2024
1 parent 4a4f687 commit 1773e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/challenges.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ <h3 x-text="category"></h3>
<div class="category-challenges d-flex flex-column">
<div class="challenges-row row">
<template x-for="(c, idx) in getChallenges(category)" :key="c.id">
<div class="col-sm-6 col-md-4 col-lg-3">
<div class="col-sm-6 col-md-4 col-lg-3 my-3">
<button
class="challenge-button btn btn-dark w-100 text-truncate my-3"
class="challenge-button btn btn-dark w-100 h-100"
:class="c.solved_by_me ? 'challenge-solved' : ''"
:value="c.id" @click="loadChallenge(c.id)"
>
Expand Down

0 comments on commit 1773e88

Please sign in to comment.