Skip to content

Commit

Permalink
MDL-58302 block_myoverview: Set fixed height of items in courses view
Browse files Browse the repository at this point in the history
Part of MDL-55611 epic.
  • Loading branch information
junpataleta authored and danpoltawski committed Apr 4, 2017
1 parent aac4653 commit 82afbfa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
}}
<div class="col-lg-6 col-xl-4">
<div class="card m-b-1">
<div class="card m-b-1 courses-view-course-item">
<div class="card-block course-info-container" id="course-info-container-{{id}}">
<div class="hidden-sm-up hidden-phone">
{{> block_myoverview/progress-chart}}
Expand Down
5 changes: 5 additions & 0 deletions theme/boost/scss/moodle/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,9 @@ $doughnut-fill-colour: $brand-warning;
height: 125px;
width: 145px;
}

.courses-view-course-item {
height: 220px;
overflow-y: hidden;
}
}
5 changes: 5 additions & 0 deletions theme/bootstrapbase/less/moodle/blocks.less
Original file line number Diff line number Diff line change
Expand Up @@ -362,4 +362,9 @@
height: 125px;
width: 145px;
}

.courses-view-course-item {
height: 220px;
overflow-y: hidden;
}
}
4 changes: 4 additions & 0 deletions theme/bootstrapbase/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -16344,6 +16344,10 @@ body {
height: 125px;
width: 145px;
}
.block_myoverview .courses-view-course-item {
height: 220px;
overflow-y: hidden;
}
/**
* Moodle forms HTML isn't changeable via renderers (yet?) so this
* .less file imports styles from the bootstrap @variables file and
Expand Down

0 comments on commit 82afbfa

Please sign in to comment.