Skip to content

Commit

Permalink
fix: improve embed preview background
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjozork committed Oct 31, 2024
1 parent 01a2f04 commit 69d2af4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions src/lib/notams/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
font-size: 1.25em;
}


h1, h2 {
margin: 0;
}
Expand All @@ -47,6 +46,13 @@
opacity: 0.9;
}

#BackgroundImage {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}

#MainContainer {
width: 100%;
height: 100%;
Expand Down Expand Up @@ -139,6 +145,6 @@

<div id="BackgroundContainer"></div>

<img src="{{metaImage}}" width="100%" />
<img id="BackgroundImage" src="{{metaImage}}" />
</body>
</html>
2 changes: 1 addition & 1 deletion src/posts/a32nx-flight-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Corrections: We fixed some text and added some minor clarifications to the work in progress section that was missed at publication.
2 changes: 1 addition & 1 deletion src/posts/cfms-vnav.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ Download the latest version of the A32NX:

Safe skies and happy flying!

*Editors: Kevin, Valastiri*
*Editors: Kevin, Valastiri*
2 changes: 1 addition & 1 deletion src/posts/cfms.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ Download the latest version of the A32NX:

---

Safe skies and happy flying!
Safe skies and happy flying!

0 comments on commit 69d2af4

Please sign in to comment.