Merged PR 964: #2379 TK Pdf Scrolling Fix

#2379 TK Pdf Scrolling Fix
This commit is contained in:
Nino Righi
2021-11-15 10:06:41 +00:00
committed by Andreas Schickinger
parent a925050912
commit 025672bd91

View File

@@ -1,5 +1,5 @@
:host {
@apply grid grid-cols-1 relative;
@apply grid grid-cols-1 relative overflow-scroll;
max-height: calc(100vh - 4rem);
}
@@ -8,11 +8,7 @@ h5 {
}
pdf-viewer {
@apply flex-grow overflow-auto max-h-full;
::ng-deep .ng2-pdf-viewer-container {
@apply overflow-scroll overflow-x-scroll overflow-y-scroll;
}
@apply flex-grow mb-4 max-h-full overflow-auto;
::ng-deep .canvasWrapper {
@apply border-2 border-gray-200 border-solid rounded-card;
@@ -20,8 +16,9 @@ pdf-viewer {
}
button.cta-print {
@apply sticky bottom-6 bg-brand text-xl px-6 py-3 text-white rounded-full border-none outline-none font-bold shadow-cta;
@apply sticky bg-brand text-xl px-6 py-3 text-white rounded-full border-none outline-none font-bold shadow-cta;
transform: translateX(-50%);
left: 50%;
bottom: 5.5rem;
width: 175px;
}