mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1994: feature(reward-list): Added Scroll to Top Button
feature(reward-list): Added Scroll to Top Button Ref: #5414
This commit is contained in:
committed by
Lorenz Hilpert
parent
27f4ef490f
commit
fcda6b9a75
@@ -62,3 +62,7 @@
|
||||
</button>
|
||||
</ui-empty-state>
|
||||
}
|
||||
|
||||
<utils-scroll-top-button
|
||||
class="flex flex-col self-end fixed bottom-[5.5rem] mr-6"
|
||||
></utils-scroll-top-button>
|
||||
|
||||
@@ -12,6 +12,7 @@ import { createRewardCatalogResource } from '../resources';
|
||||
import { RewardListItemComponent } from './reward-list-item/reward-list-item.component';
|
||||
import { InViewportDirective } from '@isa/ui/layout';
|
||||
import { RewardCatalogStore } from '@isa/checkout/data-access';
|
||||
import { ScrollTopButtonComponent } from '@isa/utils/scroll-position';
|
||||
|
||||
@Component({
|
||||
selector: 'reward-list',
|
||||
@@ -24,6 +25,7 @@ import { RewardCatalogStore } from '@isa/checkout/data-access';
|
||||
EmptyStateComponent,
|
||||
RewardListItemComponent,
|
||||
InViewportDirective,
|
||||
ScrollTopButtonComponent,
|
||||
],
|
||||
host: {
|
||||
'[class]': '"w-full flex flex-col gap-4"',
|
||||
|
||||
Reference in New Issue
Block a user