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 @@
- +