From 20a8375718db442edb7ed5301967f3a4e32860d8 Mon Sep 17 00:00:00 2001 From: Tito Moi Date: Mon, 18 Sep 2023 17:22:48 +0200 Subject: [PATCH] fix: pdf image overflow --- .../image-assignment/image-assignment.component.html | 6 ++---- .../image-assignment/image-assignment.component.ts | 8 ++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/app/assignment/image-assignment/image-assignment.component.html b/src/app/assignment/image-assignment/image-assignment.component.html index 41be2af4..2cc40c46 100644 --- a/src/app/assignment/image-assignment/image-assignment.component.html +++ b/src/app/assignment/image-assignment/image-assignment.component.html @@ -93,8 +93,7 @@ - - +
{{ assignment.isPTheme @@ -132,8 +131,7 @@ - - +
{ data.cell.text = data.cell.text.map((char) => char.trim()); // eslint-disable-next-line @typescript-eslint/dot-notation @@ -167,10 +167,6 @@ export class ImageAssignmentComponent { data.cell.styles.halign = "center"; } } - //This is the theme body - if (classList.contains("theme") || classList.contains("footerNote")) { - data.cell.styles.fontSize = 10; - } data.cell.styles.fillColor = "#FFFFFF"; }, });