Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: logo skew on pdfs

Brad Barbin83d6e252144a
diff --git a/packages/documents/src/pdf/components/Header.tsx b/packages/documents/src/pdf/components/Header.tsx
index e13d4a094a..96b7a6e165 100644
--- a/packages/documents/src/pdf/components/Header.tsx
+++ b/packages/documents/src/pdf/components/Header.tsx
@@ -32,12 +32,14 @@ const Header = ({ company, title, documentId }: HeaderProps) => {
return (
<>
<View style={tw("flex flex-row justify-between mb-1")}>
- <View style={tw("flex flex-col flex-1")}>
+ <View style={tw("flex flex-col")}>
{company.logoLightIcon ? (
- <Image
- src={company.logoLightIcon}
- style={{ height: 50, width: "auto", marginBottom: 4 }}
- />
+ <View style={{ alignSelf: "flex-start" }}>
+ <Image
+ src={company.logoLightIcon}
+ style={{ height: 50, width: "auto", marginBottom: 4 }}
+ />
+ </View>
) : (
<View>
<Text