web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

medium.com - right side of page cut off

Open bslassey opened this issue 11 years ago • 12 comments

URL: https://medium.com/@RobCottingham/i-believe-crash-reports-should-be-worth-reading-b4fd5bd54b34 Browser / Version: Firefox Mobile 39.0 Operating System: Android Problem type: Looks like the website has a bug. Site owner: No

Steps to Reproduce

  1. Navigate to: https://medium.com/@RobCottingham/i-believe-crash-reports-should-be-worth-reading-b4fd5bd54b34
  2. …

Expected Behavior: Actual Behavior:

bslassey avatar Mar 01 '15 10:03 bslassey

Able to reproduce on Android 4.1.1, Firefox Mobile 36.0.

jovanamozilla avatar Mar 01 '15 22:03 jovanamozilla

strange, In this part of the html

<div class="section-doubleWidthTable u-table u-ignoreBlock">
<div class="u-tableCell u-verticalAlignTop u-ignoreBlock">

We get

.section-doubleWidthTable {
    width: 200%;
}

.section-doubleWidthTable > .u-tableCell {
    width: 50%;
}

Not sure why they are doing that. Also not sure if it's the source of the issue. But it's the first block which is really wider than the viewport.

karlcow avatar Mar 02 '15 08:03 karlcow

Ah Found! The usual issue. Adding table-layout: fixed; is fixing the issue.

.u-table {
    display: table;
    table-layout: fixed;
}

See bug https://bugzilla.mozilla.org/show_bug.cgi?id=975632

karlcow avatar Mar 02 '15 08:03 karlcow

@RobCottingham is on Github, maybe ping him ?

magsout avatar Mar 02 '15 08:03 magsout

it's just a detail and the answer is the same

Better to add table-layout: fixed;

.section-doubleWidthTable {
  width:200%
  table-layout: fixed
}

.u-table is a SUIT CSS plugin.

magsout avatar Mar 02 '15 08:03 magsout

Thanks! Unfortunately, I don't know that I have any control over Medium's CSS (I'm a user and fan, but I'm not on their staff). But I love thinking that a post on fanciful crash reports might actually help fix something!

RobCottingham avatar Mar 02 '15 18:03 RobCottingham

@valueof has helped us in the past get some fixes. Anton, possible to take in the fix @ https://github.com/webcompat/web-bugs/issues/745#issuecomment-76676972 for Firefox Mobile users?

miketaylr avatar Mar 02 '15 18:03 miketaylr

@RobCottingham oh sorry I thought it was your own theme CSS for your medium blog my bad.

magsout avatar Mar 02 '15 18:03 magsout

I'll take a look this week.

valueof avatar Mar 02 '15 18:03 valueof

@magsout Not to worry—this has made my day.

RobCottingham avatar Mar 03 '15 00:03 RobCottingham

Should be fixed tomorrow.

valueof avatar Mar 10 '15 02:03 valueof

Looks fixed to me, thanks again @valueof!

miketaylr avatar Mar 11 '15 15:03 miketaylr