Skip to content

Commit

Permalink
Fixed mojo padding
Browse files Browse the repository at this point in the history
  • Loading branch information
fjalili committed Jul 29, 2019
1 parent 2360eed commit 9df17a9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/components/Assignment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -315,17 +315,19 @@
</table>
</div>
</div>
<div
class=" mojo table-box"
v-if="resourceMojo"
>
<p class="mojo-header">Mojo</p>
<mojo
class="mojo-content"
:progress="resourceMojo.mojoProgress"
:hours="resourceMojo.mojoRemainingHours"
:boarding="resourceMojo.mojoBoarding"
></mojo>
<div class="mojo">
<div
class="table-box"
v-if="resourceMojo"
>
<p class="mojo-header">Mojo</p>
<mojo
class="mojo-content"
:progress="resourceMojo.mojoProgress"
:hours="resourceMojo.mojoRemainingHours"
:boarding="resourceMojo.mojoBoarding"
></mojo>
</div>
</div>

<!-- SNACKBAR -->
Expand Down
6 changes: 6 additions & 0 deletions src/styles/layout/_assignment_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@
.check-box
padding-left: 8px

.mojo
padding-top: $gutter * 12

.table-box
padding-left: $gutter * 8

.mojo-header
height: 21px
padding-bottom: $gutter * 12
Expand Down

0 comments on commit 9df17a9

Please sign in to comment.