Unverified Commit 56a6b420 authored by Tristan Olive's avatar Tristan Olive Committed by GitHub

Merge pull request #3394 from drshawnkwang/drupal_fix_captchalayout

Drupal: Add ID to captcha element to theme it.
parents 3fdf87d0 89b196cc
......@@ -1309,6 +1309,8 @@ function boincuser_form_alter(&$form, $form_state, $form_id) {
$form['register_captcha'] = array(
'#type' => 'captcha',
'#weight' => 1000,
'#prefix' => '<div id="captcha-on-left">',
'#suffix' => '</div>'
);
}
......
......@@ -644,6 +644,10 @@ html.js fieldset.collapsible legend a,
#recaptcha_response_field {
left: 0;
}
/* This id cancels out the above margin-left for .captcha*/
#captcha-on-left {
margin-left: -360px;
}
/* Task App filter */
select.task-app-filter {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment