|
8 | 8 | <div class="panel-block is-block">
|
9 | 9 | <div class="columns is-centered">
|
10 | 10 | @foreach ($ranked as $playlist)
|
11 |
| - <div class="column" style="min-height: 100%;"> |
12 |
| - <div class="card"> |
| 11 | + <div class="column is-flex is-flex-direction-column is-align-items-stretch"> |
| 12 | + <div class="card" style="height: 100%;"> |
13 | 13 | <div class="card-header">
|
14 | 14 | <span class="card-header-title">
|
15 | 15 | {{ $playlist->title }}
|
|
32 | 32 | </p>
|
33 | 33 |
|
34 | 34 | <div class="content">
|
35 |
| - <progress |
36 |
| - class="progress {{ $playlist->getRankPercentColor() }}" |
37 |
| - value="{{ $playlist->csr }}" |
38 |
| - max="{{ $playlist->next_csr }}" |
39 |
| - >%{{ number_format($playlist->next_rank_percent, 2) }}</progress> |
40 |
| - <br> |
41 |
| - @if ($playlist->hasNextRank()) |
42 |
| - <span>Up Next: {{ $playlist->next_rank }}</span> |
43 |
| - @else |
44 |
| - <span> |
45 |
| - {{ $playlist->matches_remaining }} |
46 |
| - {{ Str::plural('match', $playlist->matches_remaining) }} remaining. |
47 |
| - </span> |
| 35 | + @if (! $playlist->isOnyx()) |
| 36 | + <progress |
| 37 | + class="progress {{ $playlist->getRankPercentColor() }}" |
| 38 | + value="{{ $playlist->csr }}" |
| 39 | + max="{{ $playlist->next_csr }}" |
| 40 | + >%{{ number_format($playlist->next_rank_percent, 2) }}</progress> |
| 41 | + <br> |
| 42 | + @if ($playlist->hasNextRank()) |
| 43 | + <span>Up Next: {{ $playlist->next_rank }}</span> |
| 44 | + @else |
| 45 | + <span> |
| 46 | + {{ $playlist->matches_remaining }} |
| 47 | + {{ Str::plural('match', $playlist->matches_remaining) }} remaining. |
| 48 | + </span> |
| 49 | + @endif |
48 | 50 | @endif
|
49 | 51 | </div>
|
50 | 52 | </div>
|
|
0 commit comments