Skip to content

Instantly share code, notes, and snippets.

@sitnin
Created February 20, 2020 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sitnin/fe790b4f209a18ecbb2f0efa04f015e8 to your computer and use it in GitHub Desktop.
Save sitnin/fe790b4f209a18ecbb2f0efa04f015e8 to your computer and use it in GitHub Desktop.
Fixing Massively huge page cover
diff --git a/assets/main/sass/layout/_ghost.scss b/assets/main/sass/layout/_ghost.scss
index cc755c7..df36a83 100644
--- a/assets/main/sass/layout/_ghost.scss
+++ b/assets/main/sass/layout/_ghost.scss
@@ -4,7 +4,7 @@
// Fix main cover image bg position
#wrapper>.bg {
background-position: top center;
- background-size: auto, auto, cover;
+ background-size: auto, auto, 100% auto;
}
#intro {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment