Skip to content

Commit 69d2af4

Browse files
committed
fix: improve embed preview background
1 parent 01a2f04 commit 69d2af4

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

src/lib/notams/preview.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
font-size: 1.25em;
3232
}
3333

34-
3534
h1, h2 {
3635
margin: 0;
3736
}
@@ -47,6 +46,13 @@
4746
opacity: 0.9;
4847
}
4948

49+
#BackgroundImage {
50+
width: 100%;
51+
height: 100%;
52+
object-fit: cover;
53+
object-position: center;
54+
}
55+
5056
#MainContainer {
5157
width: 100%;
5258
height: 100%;
@@ -139,6 +145,6 @@
139145

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

142-
<img src="{{metaImage}}" width="100%" />
148+
<img id="BackgroundImage" src="{{metaImage}}" />
143149
</body>
144150
</html>

src/posts/a32nx-flight-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,4 @@ Editors: Kevin, Cdr_Maverick
180180

181181
---
182182

183-
Corrections: We fixed some text and added some minor clarifications to the work in progress section that was missed at publication.
183+
Corrections: We fixed some text and added some minor clarifications to the work in progress section that was missed at publication.

src/posts/cfms-vnav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ Download the latest version of the A32NX:
109109

110110
Safe skies and happy flying!
111111

112-
*Editors: Kevin, Valastiri*
112+
*Editors: Kevin, Valastiri*

src/posts/cfms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ Download the latest version of the A32NX:
8282

8383
---
8484

85-
Safe skies and happy flying!
85+
Safe skies and happy flying!

0 commit comments

Comments
 (0)