Giter Site home page Giter Site logo

Comments (5)

tomasholderness avatar tomasholderness commented on September 12, 2024

This is due to site-header using "vh" units;

.site-header {
    width: 100%;
    height: 80vh;
    min-height: 400px;
    background-image: url(/assets/img/protest.jpg);
    background-size: cover;
    background-position: center;
}```

Support in Safari was buggy until version 8: http://caniuse.com/#feat=viewport-units

from stranded-by-trump.

tomasholderness avatar tomasholderness commented on September 12, 2024

Here's a potential fix in SCSS (as provided by caniuse.com (see previous comment) but I don't have enough Jekyll/SCSS experience to verify if it would work.

https://gist.github.com/BenMorel/e9e34c08360ebbbd0634

from stranded-by-trump.

jvivs avatar jvivs commented on September 12, 2024

@talltom Applied that fix in #21 but don't have a device w/ an old enough version to test. Checked out in a few browsers and simulator w/ iPhone5s and iOS10 and it didn't break anything.

from stranded-by-trump.

RichardLitt avatar RichardLitt commented on September 12, 2024

@talltom Should be merged. Can you check on older devices?

from stranded-by-trump.

tomasholderness avatar tomasholderness commented on September 12, 2024

Looks great @jvivs @RichardLitt , working on both Safari and Chrome on iOS 7.1

screen shot 2017-01-29 at 12 51 05 pm

from stranded-by-trump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.