GithubHelp home page GithubHelp logo

Comments (5)

samthor avatar samthor commented on June 22, 2024

Thanks for your feedback. Your solution could work on desktop but we have the same problem on small screened devices.

We're going to consider how we can potentially relayout this content where we have a small viewport to display it in.

from developer.chrome.com.

tophf avatar tophf commented on June 22, 2024

FWIW, if the mobile devices constitute only a negligible portion of views you could go with this trivial solution of increasing the width first, then fix it properly in the future...

from developer.chrome.com.

robdodson avatar robdodson commented on June 22, 2024

I think there's an easy thing we can do to really improve this page. Our lists currently have left/right margins applied to them so they appear inset when they're inside body copy. But we're not removing those margins when lists are inside of tables so they're getting crushed.

Here's the above screenshot if we remove the margins.

image

I bet there's more we can do to improve the appearance of text inside of tables. I just did some fairly baseline styles for them but now that they have a lot of real and varied content, we can tweak things.

I don't think we should increase the overall line length of the page much (though we could bump it up a tad if folks want). But you don't want line lengths to run longer than around 60-80 chars because it becomes harder to read (the eyes struggle to read text on very long lines).

Wikipedia is a good example of a site that does this poorly. They don't constrain line lengths at all, so you end up with this:

image

Compared to something like Medium which constrains the line length to something like the 60-75 char range and is easier to read.

image

from developer.chrome.com.

tophf avatar tophf commented on June 22, 2024

Indeed, Wikipedia is unreadable without a custom userstyle, but the blog example is also not ideal as 79 characters is too little for documentation, which is not a short blog article, it's a technical reference with complex formatting.

from developer.chrome.com.

tophf avatar tophf commented on June 22, 2024

The original problematic table is readable now so I guess this issue can be closed.

from developer.chrome.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.