Giter VIP home page Giter VIP logo

Comments (8)

jzaefferer avatar jzaefferer commented on June 11, 2024

I can see the issue on your screenshot, but looking at the site itself (also Chrome/OSX) it looks fine to me:
screenshot.
I wonder where the difference comes from.

from api.qunitjs.com.

agcolom avatar agcolom commented on June 11, 2024

I was only able to reproduce with FF29 OSX 10.7.5. by reducing the browser window to its minimum possible size. Chrome and Safari were fine for me.

from api.qunitjs.com.

jzaefferer avatar jzaefferer commented on June 11, 2024

Thanks @agcolom. I see that, too, but at that size the behaviour is pretty reasonable. @polm can you provide more details to reproduce this?

from api.qunitjs.com.

polm avatar polm commented on June 11, 2024

Hm, it's fine in FF/Chrome on my home machine - I saw the error on a work machine, so I'll check it again when I'm back at the office tomorrow. I do have a few plugins running, but nothing that should fiddle with styles like that...

from api.qunitjs.com.

polm avatar polm commented on June 11, 2024

Confirmed the problem with Chrome at work. Fiddling with the style a bit it seems like the width of the box is set in ems but the font is not specified. Since my Chrome settings have a Japanese font as default for serif and sans-serif, could that be the source of the problem? It falls back to a non-Japanese typeface for latin text but I don't have direct control of that in Chrome (that I can tell, anyway).

I checked a coworker's machine (same hardware, OS version) and could not reproduce this problem, so it's entirely possible I just have weird settings.

In case that's not what's up, two ways to work around the above problem for my setup would be:

  1. Monospace font (should be fine since the box is a command line anyway)
  2. More ems (16em worked for me)

Is there anything else I should have looked for?

from api.qunitjs.com.

jzaefferer avatar jzaefferer commented on June 11, 2024

Using a monospace font sounds good, that looks better anyway. I've patched this on our stage server, can you take a look here? http://stage.qunitjs.com/

If that solves the problem for you, I'll deploy it live.

from api.qunitjs.com.

polm avatar polm commented on June 11, 2024

That fixed it! It looks like this now:

fixed with monospace

Thanks!

from api.qunitjs.com.

jzaefferer avatar jzaefferer commented on June 11, 2024

Closed by jquery/jquery-wp-content@4e2b833

from api.qunitjs.com.

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.