Merged PR 1159: #2954 Fix Remission Result List no longer horizontally scrollable

#2954 Fix Remission Result List no longer horizontally scrollable
This commit is contained in:
Nino Righi
2022-04-04 11:46:06 +00:00
committed by Andreas Schickinger
parent d6507b428f
commit 896e91d4d9
5 changed files with 8 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
}
.hits {
@apply text-right bg-transparent text-regular font-semibold text-inactive-customer m-3;
@apply text-right bg-transparent text-regular font-semibold text-inactive-customer my-3;
}
a {

View File

@@ -59,7 +59,7 @@
</button>
</p>
<h2 *ngIf="return$ | async" class="text-center font-bold text-2xl">Wanne befüllen</h2>
<h2 *ngIf="return$ | async" class="text-center font-bold text-2xl my-4">Wanne befüllen</h2>
<div class="mt-4 grid grid-flow-row gap-2" *ngIf="(selectedSource$ | async) === 'Abteilungsremission'">
<page-required-capacities [requiredCapacities]="requiredCapacities$ | async"></page-required-capacities>

View File

@@ -30,3 +30,7 @@
::ng-deep page-remission-list ui-scroll-container .cta-scroll {
bottom: 38px !important;
}
::ng-deep page-remission-list ui-scroll-container .scroll-container {
display: block !important;
}

View File

@@ -58,7 +58,7 @@ export class UiScrollContainerDirective implements OnChanges, OnInit {
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow-y', 'auto');
} else {
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow-y', 'auto');
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow-x', 'auto');
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow-x', 'hidden');
}
}
}

View File

@@ -1,5 +1,5 @@
.scroll-container {
@apply overflow-y-auto relative grid grid-flow-row gap-3;
@apply relative grid grid-flow-row gap-3;
}
::ng-deep ui-scroll-container .scroll-bar::-webkit-scrollbar {