Skip to content

Commit cf38e16

Browse files
committed
fix(scroll): removed directive for scroll
1 parent 4a465d2 commit cf38e16

File tree

3 files changed

+1
-46
lines changed

3 files changed

+1
-46
lines changed

src/app/features/moderation/components/preprint-recent-activity-list/preprint-recent-activity-list.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
tabindex="0"
1212
role="region"
1313
[attr.aria-label]="'project.overview.recentActivity.title' | translate"
14-
osfHorizontalScrollKeyboard
1514
>
1615
@for (item of reviews(); track $index) {
1716
<div class="recent-activity-item flex w-full align-items-center justify-content-between py-2 white-space-nowrap">

src/app/features/moderation/components/preprint-recent-activity-list/preprint-recent-activity-list.component.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,13 @@ import { ChangeDetectionStrategy, Component, input, output, signal } from '@angu
99

1010
import { CustomPaginatorComponent } from '@osf/shared/components/custom-paginator/custom-paginator.component';
1111
import { IconComponent } from '@osf/shared/components/icon/icon.component';
12-
import { HorizontalScrollKeyboardDirective } from '@osf/shared/directives/horizontal-scroll-keyboard.directive';
1312

1413
import { PreprintReviewStatus, ReviewStatusIcon } from '../../constants';
1514
import { PreprintReviewActionModel } from '../../models';
1615

1716
@Component({
1817
selector: 'osf-preprint-recent-activity-list',
19-
imports: [
20-
TableModule,
21-
DatePipe,
22-
TranslatePipe,
23-
IconComponent,
24-
Skeleton,
25-
CustomPaginatorComponent,
26-
HorizontalScrollKeyboardDirective,
27-
],
18+
imports: [TableModule, DatePipe, TranslatePipe, IconComponent, Skeleton, CustomPaginatorComponent],
2819
templateUrl: './preprint-recent-activity-list.component.html',
2920
styleUrl: './preprint-recent-activity-list.component.scss',
3021
changeDetection: ChangeDetectionStrategy.OnPush,

src/app/shared/directives/horizontal-scroll-keyboard.directive.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)