Merge pull request #3607 from alfonso-salces/MOBILE-4291

MOBILE-4291 AddonUserProfile: Add margin-right in checkbox
main
Pau Ferrer Ocaña 2023-04-18 12:17:50 +02:00 committed by GitHub
commit dd5c80e9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View File

@ -1,9 +1,19 @@
@import "~theme/globals";
:host { :host {
--text-overflow: initial; --text-overflow: initial;
--white-space: normal; --white-space: normal;
.item-heading {
white-space: normal;
}
ion-label {
@include padding-horizontal(null, .5rem);
.label-text { .label-text {
text-overflow: var(--text-overflow); text-overflow: var(--text-overflow);
white-space: var(--white-space); white-space: var(--white-space);
} }
} }
}

View File

@ -0,0 +1,3 @@
.item-heading {
white-space: normal;
}

View File

@ -23,6 +23,7 @@ import { CoreUserProfileFieldBaseComponent } from '@features/user/classes/base-p
@Component({ @Component({
selector: 'addon-user-profile-field-menu', selector: 'addon-user-profile-field-menu',
templateUrl: 'addon-user-profile-field-menu.html', templateUrl: 'addon-user-profile-field-menu.html',
styleUrls: ['./menu.scss'],
}) })
export class AddonUserProfileFieldMenuComponent extends CoreUserProfileFieldBaseComponent { export class AddonUserProfileFieldMenuComponent extends CoreUserProfileFieldBaseComponent {