commit
e79c5d8edb
|
@ -1,3 +1,5 @@
|
|||
@import "~theme/globals";
|
||||
|
||||
:host {
|
||||
--addon-calendar-blank-day-background-color: var(--light);
|
||||
|
||||
|
@ -48,7 +50,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@include media-breakpoint-up(md) {
|
||||
.addon-calendar-day-number {
|
||||
text-align: start;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,16 @@ export class CoreGradesCourseOptionHandlerService implements CoreCourseOptionsHa
|
|||
* @return Promise resolved when done.
|
||||
*/
|
||||
async prefetch(course: CoreEnrolledCourseDataWithExtraInfoAndOptions): Promise<void> {
|
||||
await CoreGrades.getCourseGradesTable(course.id, undefined, undefined, true);
|
||||
try {
|
||||
await CoreGrades.getCourseGradesTable(course.id, undefined, undefined, true);
|
||||
} catch (error) {
|
||||
if (error.errorcode === 'notingroup') {
|
||||
// Don't fail the download because of this error.
|
||||
return;
|
||||
}
|
||||
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
@import "~theme/globals";
|
||||
|
||||
:host {
|
||||
.core-login-onboarding-step {
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
@media (min-width: 768px) {
|
||||
@include media-breakpoint-up(md) {
|
||||
max-width: 80%;
|
||||
}
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@include media-breakpoint-up(md) {
|
||||
ion-content > * {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -401,6 +401,15 @@ ion-alert.core-nohead {
|
|||
|
||||
ion-alert {
|
||||
--border-radius: var(--huge-radius);
|
||||
|
||||
&.md, &.ios {
|
||||
--max-width: 80%;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
--max-width: 384px;
|
||||
}
|
||||
}
|
||||
|
||||
.alert-wrapper {
|
||||
overflow: auto;
|
||||
border-radius: var(--border-radius) !important;
|
||||
|
|
Loading…
Reference in New Issue