Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Set the width/height to auto, so colorbox can scale itself to it's content, otherwise it has scrollbars and CAPTCHA is hidden.
Comment | File | Size | Author |
---|---|---|---|
#2 | user-login-block.png | 40.75 KB | fenda |
Comments
Comment #1
frjo CreditAttribution: frjo commentedCommitted 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.
Comment #2
fenda CreditAttribution: fenda commentedIs this really fixed?
When using "User login block" I am getting the attached result:
Comment #3
fenda CreditAttribution: fenda commentedComment #4
frjo CreditAttribution: frjo commentedDit you a CVS checkout? If not you where simply to quick, dev releases is rebuilt only every 6 or 12 hours I believe.
Comment #5
fenda CreditAttribution: fenda commentedI'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;
}
Comment #6
fenda CreditAttribution: fenda commentedComment #7
juves CreditAttribution: juves commented"December 3, 2010" version works fine for me
Comment #8
fenda CreditAttribution: fenda commentedAre you using D7 or D6?
Comment #9
juves CreditAttribution: juves commentedI just have update Colorbox to latest dev, it works also fine on D7
Comment #10
Strutsagget CreditAttribution: Strutsagget commentedI 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;
}
Comment #11
frjo CreditAttribution: frjo commentedThe "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