Skip to content

Commit

Permalink
changed styling for PDF preview text
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhaeger committed Nov 13, 2024
1 parent abe94e9 commit 3d79c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Altinn.App.Core/Internal/Pdf/PdfService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private static string GetPreviewFooter(TextResource? textResource)
{
string previewText = GetPdfPreviewText(textResource) ?? "Dette er en forhåndsvisning";
return $@"<div style='font-family: Inter; font-size: 12px; width: 100%; display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 0 70px 0 70px;'>
<div style='display: flex; flex-direction: row; width: 100%; align-items: center'>
<div style='display: flex; flex-direction: row; width: 100%; align-items: center; font-style: italic; color: #e02e49;'>
<span>{previewText}</span>
</div>
</div>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
{
"id": "PdfPreviewText",
"value": "Dette er en forhåndsvisning"
"value": "Dokumentet en forhåndsvisning"
}
]
}

0 comments on commit 3d79c45

Please sign in to comment.