Skip to content

Commit 9fa0ec0

Browse files
committed
MOBILE-4653 loading: Limit width only if requested in free placeholder
1 parent 6cb884b commit 9fa0ec0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/components/loading/core-loading.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<p class="core-loading-message" role="status">{{message}}</p>
77
}
88
} @else {
9-
<div class="{{placeholderType}} list-item-limited-width placeholder">
9+
<div class="{{placeholderType}} placeholder" [class.list-item-limited-width]="placeholderType !== 'free'">
1010
@if (placeholderType === 'free') {
1111
<ng-content select="[placeholder]" />
1212
} @else if (placeholderType === 'listwithicon' || placeholderType === 'listwithavatar') {

src/core/features/user/pages/profile/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>{{ user?.fullname }}</h1>
1313
<ion-refresher-content pullingText="{{ 'core.pulltorefresh' | translate }}" />
1414
</ion-refresher>
1515
<core-loading [hideUntil]="userLoaded" placeholderType="free">
16-
<ion-list placeholder class="ion-padding">
16+
<ion-list placeholder class="ion-padding list-item-limited-width">
1717
<ion-item>
1818
<ion-avatar slot="start" style="width: 80px; height: 80px;">
1919
<ion-skeleton-text [animated]="true" />

0 commit comments

Comments
 (0)