Set the width/height to auto, so colorbox can scale itself to it's content, otherwise it has scrollbars and CAPTCHA is hidden.

CommentFileSizeAuthor
#2 user-login-block.png40.75 KBfenda
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frjo’s picture

Status: Active » Fixed

Committed to 7-dev, thanks for the suggestion!

I instead added "initialWidth:200, initialHeight:200" this just makes the animation when the Colorbox opens looks nicer for small boxes like the login form.

fenda’s picture

FileSize
40.75 KB

Is this really fixed?

When using "User login block" I am getting the attached result:

fenda’s picture

Status: Fixed » Needs work
frjo’s picture

Status: Needs work » Fixed

Dit you a CVS checkout? If not you where simply to quick, dev releases is rebuilt only every 6 or 12 hours I believe.

fenda’s picture

I've re-downloaded both the latest dev and beta 9 (D6). Both have the same result.

Using the default 'user login' fits fine in the colorbox. But using 'user login block', I'm getting the result I posted in the previous comments attachment.

Is this just me? If so, it might be an issue with my custom themed user login block.

Update:
Using 'user login' setting and adding the below CSS to my style reproduced this issue. (Horizontal scrollbar appeared)

#user-login {
width: 400px;
}

fenda’s picture

Status: Fixed » Needs work
juves’s picture

"December 3, 2010" version works fine for me

fenda’s picture

Are you using D7 or D6?

juves’s picture

I just have update Colorbox to latest dev, it works also fine on D7

Strutsagget’s picture

I have the same problem bur solved it with adding padding to the input form elements. Drupal v6

In my colorbox css i added these lines.

#edit-pass-wrapper.form-item input, #edit-name-wrapper.form-item input{
width: 200px;
}
#edit-submit.form-submit, #edit-name-wrapper.form-item, #edit-pass-wrapper.form-item{
margin-bottom:10px;
padding-right: 20px;
}

frjo’s picture

Status: Needs work » Closed (duplicate)

The "User login block" option doesn’t work well and will be removed. Instead a option to add the Create account and Lost password links to the standard form will be added.

See patch http://drupal.org/node/1080372#comment-4167406