mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Add Scroll to Customer Search Result Page
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<a href="#">
|
||||
<page-customer-result-card *ngFor="let customer of (search.searchResult$ | async)?.result" [customer]="customer">
|
||||
</page-customer-result-card>
|
||||
</a>
|
||||
<div class="scroll-container">
|
||||
<a
|
||||
href="#"
|
||||
*ngFor="
|
||||
let customer of (search.searchResult$ | async)?.result;
|
||||
let last = last
|
||||
"
|
||||
>
|
||||
<page-customer-result-card [customer]="customer" [class.last]="last">
|
||||
</page-customer-result-card>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
.scroll-container {
|
||||
@apply h-full overflow-y-scroll;
|
||||
}
|
||||
|
||||
page-customer-result-card {
|
||||
@apply mb-px-10;
|
||||
|
||||
&.last {
|
||||
@apply mb-px-100;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
368
package-lock.json
generated
368
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -29,6 +29,7 @@ module.exports = {
|
||||
'px-10': '10px',
|
||||
'px-15': '15px',
|
||||
'px-20': '20px',
|
||||
'px-100': '100px',
|
||||
},
|
||||
padding: {
|
||||
card: '20px',
|
||||
|
||||
Reference in New Issue
Block a user