It really should only expand to as wide as required by the text.

CommentFileSizeAuthor
#4 2696085-expand-hover-width.patch2.41 KBcameron tod

Comments

Cameron Tod created an issue. See original summary.

xjm’s picture

Status: Active » Closed (duplicate)

According to #2480515: Code blocks should show 80 characters without wrapping, this hover behavior got reverted in a deployment just now, so I think we can close this as a duplicate of that for now?

japerry’s picture

Status: Closed (duplicate) » Active

No, this is an issue with code filter itself when using the hover option and not just on drupal.org.

cameron tod’s picture

Component: Support » Code
Status: Active » Needs review
StatusFileSize
new2.41 KB

This should sort it. It's basically a revision to the pre-prism code, plus a few small tweaks to support prism.

  • Cameron Tod committed d55a5df on 7.x-1.x
    Issue #2696085 by Cameron Tod: Expand on hover is making codeblocks...
cameron tod’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.