Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
82afbfab
Commit
82afbfab
authored
Mar 23, 2017
by
jun
Committed by
Dan Poltawski
Apr 04, 2017
Browse files
MDL-58302 block_myoverview: Set fixed height of items in courses view
Part of MDL-55611 epic.
parent
aac46533
Changes
4
Hide whitespace changes
Inline
Side-by-side
blocks/myoverview/templates/courses-view-course-item.mustache
View file @
82afbfab
...
...
@@ -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
}}
...
...
theme/boost/scss/moodle/blocks.scss
View file @
82afbfab
...
...
@@ -187,4 +187,9 @@ $doughnut-fill-colour: $brand-warning;
height
:
125px
;
width
:
145px
;
}
.courses-view-course-item
{
height
:
220px
;
overflow-y
:
hidden
;
}
}
theme/bootstrapbase/less/moodle/blocks.less
View file @
82afbfab
...
...
@@ -362,4 +362,9 @@
height: 125px;
width: 145px;
}
.courses-view-course-item {
height: 220px;
overflow-y: hidden;
}
}
theme/bootstrapbase/style/moodle.css
View file @
82afbfab
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment