From 0037a663493f6178b15947a367e749b215ad3670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 21 Dec 2021 15:12:17 +0100 Subject: [PATCH 1/3] MOBILE-3833 ux: Show lateral modal is opened from the edge using margin --- .../components/filteroptions/filteroptions.html | 4 +++- src/theme/theme.base.scss | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/addons/block/myoverview/components/filteroptions/filteroptions.html b/src/addons/block/myoverview/components/filteroptions/filteroptions.html index 414d1fbd4..448844d23 100644 --- a/src/addons/block/myoverview/components/filteroptions/filteroptions.html +++ b/src/addons/block/myoverview/components/filteroptions/filteroptions.html @@ -1,6 +1,8 @@ -

{{ 'core.courses.filtermycourses' | translate }}

+ +

{{ 'core.courses.filtermycourses' | translate }}

+
diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss index 0500be86e..ff09724da 100644 --- a/src/theme/theme.base.scss +++ b/src/theme/theme.base.scss @@ -535,6 +535,10 @@ body.core-iframe-fullscreen ion-router-outlet { z-index: 100000 !important; } +.core-modal-lateral .modal-wrapper { + @include margin-horizontal(16px, null); +} + @media only screen and (min-height: 400px) and (min-width: #{$modal-lateral-width}) { .core-modal-lateral { --ion-safe-area-left: 0px; @@ -556,6 +560,10 @@ body.core-iframe-fullscreen ion-router-outlet { } @each $breakpoint, $width in $screen-breakpoints { + .core-modal-lateral-#{$breakpoint} .modal-wrapper { + @include margin-horizontal(16px, null); + } + @media only screen and (min-height: 400px) and (min-width: #{$width}) { .core-modal-lateral-#{$breakpoint} { --ion-safe-area-left: 0px; From fbf7b38bea559129e20ce49a3cdded389d97f965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 21 Dec 2021 15:28:22 +0100 Subject: [PATCH 2/3] MOBILE-3833 user: Quick fixes on user profile --- src/core/features/user/pages/about/about.html | 2 +- src/core/features/user/pages/profile/profile.html | 6 +++--- src/core/features/user/pages/profile/profile.page.ts | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/core/features/user/pages/about/about.html b/src/core/features/user/pages/about/about.html index 952764eb3..c539e7b3c 100644 --- a/src/core/features/user/pages/about/about.html +++ b/src/core/features/user/pages/about/about.html @@ -14,7 +14,7 @@ - -

{{ title }}

+

{{ user?.fullname }}

@@ -15,7 +15,7 @@ -