diff --git a/UI/Web/src/app/cards/_modals/bulk-add-to-collection/bulk-add-to-collection.component.scss b/UI/Web/src/app/cards/_modals/bulk-add-to-collection/bulk-add-to-collection.component.scss
index 1cfe40c07..29342b14b 100644
--- a/UI/Web/src/app/cards/_modals/bulk-add-to-collection/bulk-add-to-collection.component.scss
+++ b/UI/Web/src/app/cards/_modals/bulk-add-to-collection/bulk-add-to-collection.component.scss
@@ -9,11 +9,11 @@
.collection {
overflow: auto;
.modal-body {
- height: calc(100vh - 235px);
+ max-height: calc(100vh - 235px);
min-height: 150px;
.list-group {
overflow: auto;
- height: calc(100vh - 355px);
+ max-height: calc(100vh - 355px);
min-height: 32px;
}
}
diff --git a/UI/Web/src/app/cards/card-detail-drawer/card-detail-drawer.component.scss b/UI/Web/src/app/cards/card-detail-drawer/card-detail-drawer.component.scss
index 8873c06ac..8296d7865 100644
--- a/UI/Web/src/app/cards/card-detail-drawer/card-detail-drawer.component.scss
+++ b/UI/Web/src/app/cards/card-detail-drawer/card-detail-drawer.component.scss
@@ -12,7 +12,7 @@
.tab-content {
overflow: auto;
- height: calc(40vh - 63px); // drawer height - offcanvas heading height
+ height: calc(40vh - (46px + 1rem)); // drawer height - offcanvas heading height
}
.h6 {
diff --git a/UI/Web/src/app/cards/card-detail-layout/card-detail-layout.component.html b/UI/Web/src/app/cards/card-detail-layout/card-detail-layout.component.html
index 1eb306484..4839f00e8 100644
--- a/UI/Web/src/app/cards/card-detail-layout/card-detail-layout.component.html
+++ b/UI/Web/src/app/cards/card-detail-layout/card-detail-layout.component.html
@@ -13,13 +13,13 @@