Fix scroll for "user activity" card

This commit is contained in:
eugene-sinitsyn 2020-03-11 13:27:00 +03:00 committed by Sergey Andrievskiy
parent 8ddbd32a34
commit b88c055369
3 changed files with 31 additions and 19 deletions

View file

@ -16,4 +16,9 @@
@include nb-ltr(padding-right, 4rem);
@include nb-rtl(padding-left, 4rem);
}
nb-card-body {
padding-left: 0;
padding-right: 0;
}
}

View file

@ -7,6 +7,7 @@
</nb-select>
</nb-card-header>
<nb-card-body>
<nb-list class="user-activity-list">
<nb-list-item *ngFor="let item of userActivity">
@ -29,5 +30,6 @@
</nb-list-item>
</nb-list>
</nb-card-body>
</nb-card>

View file

@ -10,6 +10,11 @@
padding-bottom: nb-theme(card-header-with-select-padding-bottom);
}
nb-card-body {
padding-left: 0;
padding-right: 0;
}
nb-list {
overflow-x: hidden;
}