GithubHelp home page GithubHelp logo

Comments (4)

barryclark avatar barryclark commented on June 1, 2024

I took a look @benjholla. Love the look of questionablecode.org, by the way!

Your image looks good: https://questionablecode.org/assets/audit_resources/com.ext.ui/3.0/interesting_interactions.png and you've inserted it correctly. There's virtually no way that Jekyll could be causing a problem here, as what's being served is a static site, so if your image is fine, it must be something with the JS zoom box. It looks like the JS zoom box is zooming on the small version of the image, and not repainting the image upon zoom.

Closing as this isn't Jekyll Now (or Jekyll) related. Hopefully that helps you narrow things down, afraid I don't have time to debug the JS.

from jekyll-now.

benjholla avatar benjholla commented on June 1, 2024

Thanks for the help ruling out Jekyll. I knew it was a long shot, but maybe there was something I didn't know. Actually I pretty confident I tracked the bug down finally. Haven't fixed it yet, but turns out there is something that conflicts with my javascript/css of my zoom box and the jekyll-now output css and it just happens to manifest as a partially working zoom box.

from jekyll-now.

benjholla avatar benjholla commented on June 1, 2024

I found it!

In style.scss there was:

img {
max-width: 100%;
}

From what I can tell this is only used for the avatar image. So for my site I just moved max-width: 100%; (https://github.com/barryclark/jekyll-now/blob/master/style.scss#L109) to the line after site-avatar img attributes (https://github.com/barryclark/jekyll-now/blob/master/style.scss#L179).

That actually kind of make sense now...Thanks again for taking a look. I appreciate your project. Also I noticed for some reason I lost the "forked from" link. I made sure to re-fork to give proper attribution 👍

from jekyll-now.

barryclark avatar barryclark commented on June 1, 2024

Thanks @benjholla, I'm glad that you found the problem.

img { max-width: 100%; } sets all images to be fluid within their container, which is typically what you want in a blog post, and helpful at different responsive breakpoints. It'd make sense that was messing with the plugin. Good luck with the site! :)

from jekyll-now.

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.