diff --git a/src/addons/mod/data/components/index/addon-mod-data-index.html b/src/addons/mod/data/components/index/addon-mod-data-index.html index ac4cf7ce9..ebf61e0a1 100644 --- a/src/addons/mod/data/components/index/addon-mod-data-index.html +++ b/src/addons/mod/data/components/index/addon-mod-data-index.html @@ -74,8 +74,8 @@ -
- +
+
diff --git a/src/addons/mod/data/data.scss b/src/addons/mod/data/data.scss index 043e327a3..70ceb7dd0 100644 --- a/src/addons/mod/data/data.scss +++ b/src/addons/mod/data/data.scss @@ -16,7 +16,7 @@ $grid-column-paddings: ( --border-color: var(--stroke); } -.addon-data-contents { +.addon-data-edit-entry { overflow: visible; white-space: normal; word-break: break-word; diff --git a/src/addons/mod/data/pages/edit/edit.html b/src/addons/mod/data/pages/edit/edit.html index f4916f20f..df520ec87 100644 --- a/src/addons/mod/data/pages/edit/edit.html +++ b/src/addons/mod/data/pages/edit/edit.html @@ -20,8 +20,8 @@ -
- +
+
diff --git a/src/addons/mod/data/pages/entry/entry.html b/src/addons/mod/data/pages/entry/entry.html index 0c2b27f8e..0c8d7026e 100644 --- a/src/addons/mod/data/pages/entry/entry.html +++ b/src/addons/mod/data/pages/entry/entry.html @@ -28,7 +28,7 @@ [courseId]="courseId" />
- +
diff --git a/src/core/components/sites-list/sites-list.html b/src/core/components/sites-list/sites-list.html index 7ac9a9149..429820659 100644 --- a/src/core/components/sites-list/sites-list.html +++ b/src/core/components/sites-list/sites-list.html @@ -21,8 +21,8 @@ - - + +

@@ -42,7 +42,7 @@ - +

{{site.fullname}}

diff --git a/src/core/components/style/style.ts b/src/core/components/style/style.ts index e831151f5..0cdefbe04 100644 --- a/src/core/components/style/style.ts +++ b/src/core/components/style/style.ts @@ -41,7 +41,7 @@ export class CoreStyleComponent implements OnChanges { ngOnChanges(): void { if (this.element && this.element.nativeElement) { const style = document.createElement('style'); - style.innerText = this.prefixCSS(this.css, this.prefix); + style.innerHTML = this.prefixCSS(this.css, this.prefix); this.element.nativeElement.innerHTML = ''; this.element.nativeElement.appendChild(style); diff --git a/src/core/features/question/question.scss b/src/core/features/question/question.scss index 3ab801280..fe5726aa2 100644 --- a/src/core/features/question/question.scss +++ b/src/core/features/question/question.scss @@ -37,6 +37,7 @@ background-color: var(--core-question-feedback-background-color); .specificfeedback, .rightanswer, .im-feedback, .feedback, .generalfeedback { + font: var(--mdl-typography-body-font-md); margin: 0 0 .5em; p { diff --git a/src/theme/components/collapsible-header.scss b/src/theme/components/collapsible-header.scss index b587f82e2..7196c833c 100644 --- a/src/theme/components/collapsible-header.scss +++ b/src/theme/components/collapsible-header.scss @@ -93,6 +93,10 @@ body:not(.core-iframe-fullscreen) .collapsible-header-page { ion-content { --offset-top: var(--collapsible-header-collapsed-height) !important; + + > ion-refresher { + z-index: 1; + } } .collapsible-header-expanded { diff --git a/src/theme/components/format-text.scss b/src/theme/components/format-text.scss index d7e304b63..5cce7f8f1 100644 --- a/src/theme/components/format-text.scss +++ b/src/theme/components/format-text.scss @@ -69,37 +69,37 @@ core-format-text { position: relative; display: inline-block; max-width: 100%; - } - .core-image-viewer-icon { - position: absolute; - @include position(null, 10px, 10px, null); - color: var(--ion-text-color); - border-radius: var(--mdl-shape-borderRadius-xl); - background-color: var(--core-format-text-viewer-icon-background); - display: flex; - - width: var(--a11y-sizing-minTargetSize); - height: var(--a11y-sizing-minTargetSize); - max-width: var(--a11y-sizing-minTargetSize); - font-size: var(--mdl-typography-icon-fontSize-lg); - - ion-icon { - flex: 1; - align-self: center; - /** Fix iOS icon size */ - margin: 0 auto; + .core-image-viewer-icon { position: absolute; - left: 0; - right: 0; - } + @include position(null, 10px, 10px, null); + color: var(--ion-text-color); + border-radius: var(--mdl-shape-borderRadius-xl); + background-color: var(--core-format-text-viewer-icon-background); + display: flex; - &:hover { - opacity: .7; - } + width: var(--a11y-sizing-minTargetSize); + height: var(--a11y-sizing-minTargetSize); + max-width: var(--a11y-sizing-minTargetSize); + font-size: var(--mdl-typography-icon-fontSize-lg); - &.hidden { - display: none; + ion-icon { + flex: 1; + align-self: center; + /** Fix iOS icon size */ + margin: 0 auto; + position: absolute; + left: 0; + right: 0; + } + + &:hover { + opacity: .7; + } + + &.hidden { + display: none; + } } } diff --git a/src/theme/components/ion-loading.scss b/src/theme/components/ion-loading.scss index 1316c2906..64e600894 100644 --- a/src/theme/components/ion-loading.scss +++ b/src/theme/components/ion-loading.scss @@ -1,4 +1,5 @@ -ion-loading { +ion-loading.ios, +ion-loading.md { --spinner-color: var(--core-loading-spinner); --border-radius: var(--modal-radius); diff --git a/src/theme/components/ion-spinner.scss b/src/theme/components/ion-spinner.scss index f3b667b6f..dda00a929 100644 --- a/src/theme/components/ion-spinner.scss +++ b/src/theme/components/ion-spinner.scss @@ -1,6 +1,4 @@ ion-spinner, ion-refresher { - --ion-color-base: var(--core-loading-spinner); - --ion-color-primary: var(--core-loading-spinner); --color: var(--core-loading-spinner); }