From 80d2f34ad0ec7f6ca89f61954aa7ca936aa45859 Mon Sep 17 00:00:00 2001
From: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Date: Fri, 25 Feb 2022 00:47:27 -0800
Subject: [PATCH 1/4] Fix pdf border
---
.../components/document-detail/document-detail.component.html | 2 +-
.../components/document-detail/document-detail.component.scss | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html
index 74990284c..b62d805c3 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@ -149,7 +149,7 @@
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.scss b/src-ui/src/app/components/document-detail/document-detail.component.scss
index 9de0f0624..3bde0a41e 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.scss
+++ b/src-ui/src/app/components/document-detail/document-detail.component.scss
@@ -12,3 +12,7 @@
height: 100%;
}
}
+
+::ng-deep .ng2-pdf-viewer-container {
+ --page-margin: 1px 0 -8px;
+}
From a1a01870e6b36ce3a3e57689d842d4ad0ceab3a2 Mon Sep 17 00:00:00 2001
From: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Date: Fri, 25 Feb 2022 00:49:32 -0800
Subject: [PATCH 2/4] card checkboxes werent clickable
---
.../document-card-large/document-card-large.component.scss | 1 +
.../document-card-small/document-card-small.component.scss | 1 +
2 files changed, 2 insertions(+)
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
index 9a47aea58..e67c0be5d 100644
--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
@@ -34,6 +34,7 @@
padding: 0.5rem;
border-top-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
+ pointer-events: none;
.form-check {
padding: 0;
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
index c4d54a807..cdf2cf7c9 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
@@ -19,6 +19,7 @@
padding: 0.5rem;
border-top-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
+ pointer-events: none;
.form-check {
padding: 0;
From da4c6e8fb66b4d2669e3c6edbf554a35db5bbd5b Mon Sep 17 00:00:00 2001
From: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Date: Fri, 25 Feb 2022 01:10:26 -0800
Subject: [PATCH 3/4] force ng2-pdf-viewer page width
---
.../components/document-detail/document-detail.component.scss | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.scss b/src-ui/src/app/components/document-detail/document-detail.component.scss
index 3bde0a41e..5512b6bb0 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.scss
+++ b/src-ui/src/app/components/document-detail/document-detail.component.scss
@@ -13,6 +13,7 @@
}
}
-::ng-deep .ng2-pdf-viewer-container {
+::ng-deep .ng2-pdf-viewer-container .page {
--page-margin: 1px 0 -8px;
+ width: 100% !important;
}
From 8dc57e8e87fd96c8bf641adab190e9546c68da79 Mon Sep 17 00:00:00 2001
From: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Date: Fri, 25 Feb 2022 01:17:05 -0800
Subject: [PATCH 4/4] fix position and bs5 underline of suggestion link
---
.../src/app/components/app-frame/app-frame.component.scss | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.scss b/src-ui/src/app/components/app-frame/app-frame.component.scss
index c433bfeb5..4b43c31bf 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.scss
+++ b/src-ui/src/app/components/app-frame/app-frame.component.scss
@@ -90,9 +90,14 @@
}
.nav-link-additional {
- margin-top: 0.2rem;
+ margin-top: 0.1rem;
margin-left: 0.25rem;
padding-top: 0.5rem;
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
svg {
margin-bottom: 2px;