diff --git a/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html b/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html
index b8f8afcb..113e7147 100644
--- a/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html
+++ b/frontend/src/app/components/fhir-card/datatypes/pdf/pdf.component.html
@@ -4,7 +4,7 @@
type="{{displayModel?.content_type}}"
[style]="{
width: '100%',
- height: height
+ height: height + 'px'
}"
/>
diff --git a/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html b/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html
index 4e2314d8..c1c7e3cf 100644
--- a/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html
+++ b/frontend/src/app/components/fhir-card/resources/diagnostic-report/diagnostic-report.component.html
@@ -16,7 +16,21 @@