From 69d2af4d2da65547709adb6a7dfd4f4206270dc7 Mon Sep 17 00:00:00 2001 From: Benjamin Dupont <4503241+Benjozork@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:35:04 -0400 Subject: [PATCH] fix: improve embed preview background --- src/lib/notams/preview.html | 10 ++++++++-- src/posts/a32nx-flight-model.md | 2 +- src/posts/cfms-vnav.md | 2 +- src/posts/cfms.md | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/lib/notams/preview.html b/src/lib/notams/preview.html index 584d4573..8cc8a6ed 100644 --- a/src/lib/notams/preview.html +++ b/src/lib/notams/preview.html @@ -31,7 +31,6 @@ font-size: 1.25em; } - h1, h2 { margin: 0; } @@ -47,6 +46,13 @@ opacity: 0.9; } + #BackgroundImage { + width: 100%; + height: 100%; + object-fit: cover; + object-position: center; + } + #MainContainer { width: 100%; height: 100%; @@ -139,6 +145,6 @@
- + diff --git a/src/posts/a32nx-flight-model.md b/src/posts/a32nx-flight-model.md index 44419c29..3c8a9e38 100644 --- a/src/posts/a32nx-flight-model.md +++ b/src/posts/a32nx-flight-model.md @@ -180,4 +180,4 @@ Editors: Kevin, Cdr_Maverick --- -Corrections: We fixed some text and added some minor clarifications to the work in progress section that was missed at publication. \ No newline at end of file +Corrections: We fixed some text and added some minor clarifications to the work in progress section that was missed at publication. diff --git a/src/posts/cfms-vnav.md b/src/posts/cfms-vnav.md index 39f7899c..0c510aa6 100644 --- a/src/posts/cfms-vnav.md +++ b/src/posts/cfms-vnav.md @@ -109,4 +109,4 @@ Download the latest version of the A32NX: Safe skies and happy flying! -*Editors: Kevin, Valastiri* \ No newline at end of file +*Editors: Kevin, Valastiri* diff --git a/src/posts/cfms.md b/src/posts/cfms.md index eb5cb85c..8c4c4506 100644 --- a/src/posts/cfms.md +++ b/src/posts/cfms.md @@ -82,4 +82,4 @@ Download the latest version of the A32NX: --- -Safe skies and happy flying! \ No newline at end of file +Safe skies and happy flying!