diff --git a/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html b/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html index 50e95546f..44810d334 100644 --- a/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html +++ b/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html @@ -4,7 +4,7 @@ - + {{ entry.name }} diff --git a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html index 14298293a..6d9bd7f36 100644 --- a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html +++ b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html @@ -14,8 +14,7 @@
- + diff --git a/src/addons/competency/pages/coursecompetencies/coursecompetencies.html b/src/addons/competency/pages/coursecompetencies/coursecompetencies.html index d8f6cb615..fd6746901 100644 --- a/src/addons/competency/pages/coursecompetencies/coursecompetencies.html +++ b/src/addons/competency/pages/coursecompetencies/coursecompetencies.html @@ -114,8 +114,8 @@

{{ 'addon.competency.noactivities' | translate }}

- + diff --git a/src/core/directives/collapsible-header.ts b/src/core/directives/collapsible-header.ts index 1981fd416..b80be74e7 100644 --- a/src/core/directives/collapsible-header.ts +++ b/src/core/directives/collapsible-header.ts @@ -211,6 +211,7 @@ export class CoreCollapsibleHeaderDirective implements OnDestroy { parseInt(getComputedStyle(this.contentH1.parentElement).marginTop || '0', 10)) + 'px', ); this.contentH1.style.setProperty('position', 'absolute'); + this.contentH1.parentElement.style.setProperty('position', 'relative'); this.setupContent(); } diff --git a/src/core/features/course/components/module/core-course-module.html b/src/core/features/course/components/module/core-course-module.html index e20fbae5c..e1048efe5 100644 --- a/src/core/features/course/components/module/core-course-module.html +++ b/src/core/features/course/components/module/core-course-module.html @@ -3,7 +3,6 @@ @@ -16,6 +15,8 @@ +

@@ -31,7 +32,7 @@ - + {{ 'core.course.hiddenfromstudents' | translate }} @@ -60,7 +61,6 @@ diff --git a/src/core/features/course/components/module/module.scss b/src/core/features/course/components/module/module.scss index f398ee1fa..da557da41 100644 --- a/src/core/features/course/components/module/module.scss +++ b/src/core/features/course/components/module/module.scss @@ -11,6 +11,10 @@ ion-item.core-module-main-item { --min-height: 52px; + .core-module-title .item-heading ion-icon { + @include margin-horizontal(8px, null); + } + .core-module-buttons, .buttons.core-module-buttons { margin: 0; @@ -39,6 +43,7 @@ .core-module-additional-info { display: flex; align-items: center; + flex-wrap: wrap; } } diff --git a/src/core/features/course/pages/index/index.scss b/src/core/features/course/pages/index/index.scss index bd9456dc2..63efe0c1f 100644 --- a/src/core/features/course/pages/index/index.scss +++ b/src/core/features/course/pages/index/index.scss @@ -1,6 +1,10 @@ @import '~theme/globals.scss'; :host { + .core-format-progress-list { + width: 100%; + } + .core-course-thumb { height: var(--core-courseimage-on-course-size); min-height: var(--core-courseimage-on-course-size); @@ -9,9 +13,9 @@ --border-radius: var(--core-courseimage-radius); } - @if ($core-show-courseimage-on-course) { + @if ($core-hide-courseimage-on-course) { .core-course-thumb { - display: block; + display: none; } } diff --git a/src/theme/globals.variables.scss b/src/theme/globals.variables.scss index 21fe2d0dd..5ab1d48fb 100644 --- a/src/theme/globals.variables.scss +++ b/src/theme/globals.variables.scss @@ -90,7 +90,7 @@ $core-dashboard-logo: false !default; $core-always-show-main-menu: false !default; $core-format-text-never-shorten: false !default; -$core-show-courseimage-on-course: false !default; +$core-hide-courseimage-on-course: false !default; $core-hide-progress-on-course: false !default; $core-hide-progress-on-section-selector: false !default;