From 6600f415b7bddb0192b1ccf9e0d9d9e7f99102ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Thu, 2 Apr 2026 18:24:21 +0400 Subject: [PATCH] Allow logo to take doc width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/docgen/data_protection_impact_assessments_template.html | 5 +++-- pkg/docgen/processing_activities_template.html | 5 +++-- pkg/docgen/soa_template.html | 5 +++-- pkg/docgen/template.html | 5 +++-- pkg/docgen/transfer_impact_assessments_template.html | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/pkg/docgen/data_protection_impact_assessments_template.html b/pkg/docgen/data_protection_impact_assessments_template.html index fb8557bc9..9572b2476 100644 --- a/pkg/docgen/data_protection_impact_assessments_template.html +++ b/pkg/docgen/data_protection_impact_assessments_template.html @@ -38,8 +38,9 @@ .company-logo { max-height: 50px; - max-width: 250px; - object-fit: contain; + max-width: 100%; + height: auto; + width: auto; display: block; } diff --git a/pkg/docgen/processing_activities_template.html b/pkg/docgen/processing_activities_template.html index 7bd07f0e4..fedeb4bb4 100644 --- a/pkg/docgen/processing_activities_template.html +++ b/pkg/docgen/processing_activities_template.html @@ -38,8 +38,9 @@ .company-logo { max-height: 50px; - max-width: 250px; - object-fit: contain; + max-width: 100%; + height: auto; + width: auto; display: block; } diff --git a/pkg/docgen/soa_template.html b/pkg/docgen/soa_template.html index f52293306..7942ee6b8 100644 --- a/pkg/docgen/soa_template.html +++ b/pkg/docgen/soa_template.html @@ -38,8 +38,9 @@ .company-logo { max-height: 50px; - max-width: 250px; - object-fit: contain; + max-width: 100%; + height: auto; + width: auto; display: block; } diff --git a/pkg/docgen/template.html b/pkg/docgen/template.html index a24a8d4c7..f7a673c1d 100644 --- a/pkg/docgen/template.html +++ b/pkg/docgen/template.html @@ -65,8 +65,9 @@ .company-logo { max-height: 50px; - max-width: 250px; - object-fit: contain; + max-width: 100%; + height: auto; + width: auto; display: block; } diff --git a/pkg/docgen/transfer_impact_assessments_template.html b/pkg/docgen/transfer_impact_assessments_template.html index 233db42f4..52409312a 100644 --- a/pkg/docgen/transfer_impact_assessments_template.html +++ b/pkg/docgen/transfer_impact_assessments_template.html @@ -38,8 +38,9 @@ .company-logo { max-height: 50px; - max-width: 250px; - object-fit: contain; + max-width: 100%; + height: auto; + width: auto; display: block; }