Coder Social home page Coder Social logo

Comments (7)

mb21 avatar mb21 commented on June 4, 2024

Works fine for me in Chrome. What exactly do you mean with "stripes get out of sync with the text"?

from jsonedit.

gonzalobenegas avatar gonzalobenegas commented on June 4, 2024

screenshot from 2014-05-08 15 39 31

At the bottom, text is no longer centered in the stripe.

from jsonedit.

mb21 avatar mb21 commented on June 4, 2024

Hm.. it happens only when you zoom in. Will have to look into it..

from jsonedit.

CaptainYarb avatar CaptainYarb commented on June 4, 2024

This occurs when the line-height of your page conflicts with the default css.

from jsonedit.

mb21 avatar mb21 commented on June 4, 2024

@Blazedd can you send a pull-request with the fixed CSS?

from jsonedit.

CaptainYarb avatar CaptainYarb commented on June 4, 2024

@mb21 From what I can tell it's highly dependent on the CSS your website uses. I'd need to make a CSS rewrite to make it forcefully overwrite site css

from jsonedit.

mb21 avatar mb21 commented on June 4, 2024

I'm fairly convinced now that this is due to the calculated height of inline elements. Some of the parent elements get 31px high even when I set the line-height to 30px. I was unable to fix this on all zoom-levels since display: inline-block doesn't seem to change that behaviour in Chrome (haven't tested other browsers).

So the only solution I currently see is rewriting the whole CSS to use block-level elements and have them float to the right place.

from jsonedit.

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.