Skip to content

Commit 507300c

Browse files
authored
Merge pull request #538 from coding-blocks/alignCHeck
Align check
2 parents cfbfe93 + c6a9dae commit 507300c

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

app/pods/components/player/player-section-list-item/template.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
</div>
2525
{{#if isOpen}}
2626
{{#each section.contents as |content|}}
27-
<div class="row no-gutters justify-content-between align-items-center py-3">
27+
<div class="row no-gutters justify-content-between align-items-center py-2 flex-nowrap">
2828
<LinkTo
2929
class="white content-row {{content.iconClass}} {{if (eq activeContentId content.id) "gradient-text-orange"}}"
3030
@route="attempt.content"
3131
@models={{array section.id content.id}}>
32-
<span class="normal">{{content.title}} </span>
32+
<span class="normal w-100">{{content.title}} </span>
3333
</LinkTo>
3434
{{#if content.isDone}}
3535
<FaIcon @icon="check" class="gradient-text-green" />

app/styles/components/player.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
display: inline-block;
88
height: 25px;
99
width: 25px;
10-
margin-right: 1rem;
11-
background-size: cover;
10+
margin-right: 0.5rem;
11+
background-size: contain;
1212
background-repeat: no-repeat;
1313
}
1414

15+
span.normal {
16+
word-break: break-word;
17+
margin-right: 0.5rem;
18+
}
19+
1520
&.quiz-row::before {
1621
background-image: url('https://minio.codingblocks.com/amoeba/quiz_grey.svg');
1722
}

0 commit comments

Comments
 (0)