Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update useful concepts positioning #225

Merged
merged 3 commits into from
Jun 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/Lesson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<div>
<Header/>
<div class="center mw7 ph2">
<div class="flex-l items-start center mw7 ph2">
<div class="center mw7 ph2">
<section class="pv3 mt3">
<div class="lh-solid v-mid f4">
<span class="green v-mid"><span class="b">{{workshopShortname}}</span> | Lesson {{lessonNumber}} of {{lessonsInWorkshop}}</span>
<span class="pl1"><img v-if="lessonPassed" src="../static/images/complete.svg" alt="complete" style="height: 1.2rem;" class="v-mid"/></span>
</div>
<h1>{{lessonTitle}}</h1>
<div v-if="concepts" class='fr-l measure-narrow-l ph3 mb2 ml3-l ba border-green' style="background: rgba(105, 196, 205, 10%)">
<h2 class="f5 fw2 green mt0 nb1 pt3">Useful concepts</h2>
<div class='f6 lh-copy' v-html="parsedConcepts"></div>
</div>
<div class="lesson-text lh-copy" v-html="parsedText"></div>
</section>
<section v-if="concepts" class='dn db-ns ba border-green ph4 ml3 ml5-l mt5 mb3 mr3 measure' style="background: rgba(105, 196, 205, 10%)">
<h2 class="f5 fw2 green mt0 nb1 pt3">Useful concepts</h2>
<div class='f6 lh-copy' v-html="parsedConcepts"></div>
</section>
</div>
<section v-if="exercise" v-bind:class="{expand: expandExercise}" class="exercise pb4 pt3 ph3 ph4-l mb3 mr5 flex flex-column" style="background: #F6F7F9;">
<div class="flex-none">
Expand Down