mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
fix: performance degradation when scrolling
This commit is contained in:
@@ -20,6 +20,7 @@ import {Component} from '@angular/core';
|
||||
@Component({
|
||||
selector: 'stapps-skeleton-list-item',
|
||||
templateUrl: 'skeleton-list-item.html',
|
||||
styleUrls: ['skeleton-list-item.scss'],
|
||||
})
|
||||
export class SkeletonListItem {
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ion-item>
|
||||
<ion-thumbnail slot="start">
|
||||
<ion-skeleton-text animated></ion-skeleton-text>
|
||||
</ion-thumbnail>
|
||||
<ion-thumbnail slot="start" class="ion-margin-end">
|
||||
<ion-skeleton-text animated></ion-skeleton-text>
|
||||
</ion-thumbnail>
|
||||
<ion-grid>
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
|
||||
7
src/app/modules/data/elements/skeleton-list-item.scss
Normal file
7
src/app/modules/data/elements/skeleton-list-item.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
::ng-deep {
|
||||
ion-grid,ion-col {
|
||||
padding-inline-start: 0px!important;
|
||||
padding-top: 0px!important;
|
||||
padding-bottom: 0px!important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user