Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Not Word Wrapping #13

Closed
taocode opened this issue Sep 17, 2011 · 4 comments
Closed

Chrome Not Word Wrapping #13

taocode opened this issue Sep 17, 2011 · 4 comments

Comments

@taocode
Copy link

taocode commented Sep 17, 2011

The Google Chrome browser doesn't like something that's going on with this plugin. Your demo page shows this behavior clearly on the very first item... What happens is the paragraph doesn't word-wrap once you expand it so the text all goes off the screen.

The variation I started with was: expander was applied to the parent div of many p tags. Each p tag introduced a line-break but no paragraphs wrapped. Explicitly setting the width on the paragraph in the CSS also failed to get Chrome to wordwrap.

Thank you for this plugin. It's excellent. I'm using the most recent version (9/16).

//

@kswedberg
Copy link
Owner

Hi there,

That's a really peculiar issue, and I'm not able to reproduce it on my machine running Chrome 15... dev, Mac OS X. Can you please provide more information and show me another live example or point me to a screenshot of the problem? I'm at a loss as to what the problem could be since I don't see it happening.

@taocode
Copy link
Author

taocode commented Sep 18, 2011

I'm using Google Chrome 14.0.835.163 on Windows 7. All other browsers are fine. After some digging, I found .details { white-space: nowrap } set in a "sser stylesheet". I don't know how it got set to that... maybe the theme I'm using? Either way, I added: .details { white-space: normal } to my stylesheet and it's now fine.

This may be a bit of an isolated incident. I haven't tried it on chrome on another computer either, so I've been a bit lazy about QA :-)...

Here's a screenshot for the fun of it: http://taocode.com/images/Chrome-on-pc.png

@taocode taocode closed this as completed Sep 18, 2011
@taocode
Copy link
Author

taocode commented Sep 18, 2011

"user stylesheet"

@kswedberg
Copy link
Owner

hmm. yeah, I'm guessing it's related to a Chrome extension that you're using. I just tried it in Chrome 13.x and 14.x on Windows 7 and had no such issues. Glad you were able to work around it on your machine. Another way to ensure that this doesn't happen on others' machines if you use the plugin is to change the detailClass option to something other than "details"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants