Minor display issues on Chrome

in
Subscribe to Minor display issues on Chrome 5 posts, 3 voices



Ryan McMullan User
Firefox

I have tried Task Cloud Restructurer in Chrome and for the most part it works well (and fast). But for the Flat sections, the lines don't wrap, ala this screen shot:
http://dl.dropbox.com/u/1158341/RTM%20Cloud%20R...

Has anyone else had this issue on Chrome? Any solutions?

 
Lilyheart User
Chrome

Hey Ryan,

If you put at the top

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('.taskcloudcontent .level1 {display: inline-block;}');

That should do it. I've heavily modified my script and just recently purged a lot of my misc stuff in RTM so I'm not sure if it's a total fix. Just message me if it doesn't completely work.

 
emalminator Script's Author
FirefoxMacintosh

Hi, Ryan,

I replied to your post on the RTM forum thread, but I'll post a reply here, too. For some reason, Chrome doesn't want to line-break a single thin space between spans, but putting a zero-width space in there too does make it break correctly. I've updated the script here to change that, so it should display as intended now. Thanks for spotting that, and my apologies for letting this script sit unattended for so long!

 
Ryan McMullan User
Chrome

That did the trick! Thanks, emalminator!

 
emalminator Script's Author
FirefoxMacintosh

Hi, Ryan,

Great, thanks for letting me know that that change resolved the issue for you! Please do notify me if you encounter any other problems, especially since I'm trying to test more extensively on Chrome now.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel