Giter Site home page Giter Site logo

Comments (3)

connorshea avatar connorshea commented on June 14, 2024

I think I figured out why this is happening, and was going to open my own bug report, but I suppose that'd be repetitive.

What I believe is happening is that the banner is aligning with the top of the window element (aka viewport/browser window) rather than the document element. Which is why it will work perfectly fine if you don't scroll until everything is loaded, but if you reload the page and scroll down before it can load you get this issue.

I could be wrong, but that's what seems to be happening to me.

EDIT: Nope, nevermind. It seems to have something to do with z-index and the fixed header that shows up when you scroll down?

from subreddit-css.

JulianNorton avatar JulianNorton commented on June 14, 2024

This is an issue for other /r/naut themes as well, like /r/startup.

from subreddit-css.

jmarikle avatar jmarikle commented on June 14, 2024

This is a known issue with retna displays on chrome for mac: https://code.google.com/p/chromium/issues/detail?id=319721#c27. It's a bug when both fixed background-attachment and a fixed element are used (the subreddit has fixed background for #header and a fixed h6 element for "home", "hot", "new", "top" links). My suggestion would be for mac users to ignore it or for someone to switch the background attachment of the header image to scroll. Fixed bg in this context is classier, but honestly, it doesn't make a huge visual difference between having fixed or scroll and I think scroll attachment makes the page run faster.

edit: it doesn't make a huge visual difference in this case because of the nature of the image used.

from subreddit-css.

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.