+
{{ 'core.user.roles' | translate}}{{'core.labelsep' | translate}} {{ rolesFormatted }}
diff --git a/src/core/features/user/pages/profile/profile.page.ts b/src/core/features/user/pages/profile/profile.page.ts index 69a8fcd26..88604bde6 100644 --- a/src/core/features/user/pages/profile/profile.page.ts +++ b/src/core/features/user/pages/profile/profile.page.ts @@ -47,7 +47,6 @@ export class CoreUserProfilePage implements OnInit, OnDestroy { userLoaded = false; isLoadingHandlers = false; user?: CoreUserProfile; - title?: string; isDeleted = false; isEnrolled = true; rolesFormatted?: string; @@ -128,7 +127,6 @@ export class CoreUserProfilePage implements OnInit, OnDestroy { this.rolesFormatted = 'roles' in user ? CoreUserHelper.formatRoleList(user.roles) : ''; this.user = user; - this.title = user.fullname; // If there's already a subscription, unsubscribe because we'll get a new one. this.subscription?.unsubscribe(); 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;