The module works great, but when using the login box in a sidebar, the layout is broken by default because it adds in a <br /> at a seemingly random place (due to the boxes all being the same size there). I am not sure if there is a way to tell if the login is on the side or not by default though.

This is easy to get around by adding classes to the template and canceling out the br in the sidebar, but it would be nice if it "just worked" instead.

Comments

andriy_gerasika’s picture

it adds <br/> so icons appear five in a row. If icons jump, most likely your theme has too narrow sidebars. For now, try increasing sidebar width in your theme.

andriy_gerasika’s picture

Status: Active » Fixed

fixed in
http://drupal.org/cvs?commit=462994
http://drupal.org/cvs?commit=462996

to control position @ which <br /> appears, use openid_selector_block_width variable. Default value for this variable is 5.

andriy_gerasika’s picture

Status: Fixed » Closed (fixed)

fix is available in just released v1.4

SeanJA’s picture

Use the variable openid_selector_block_width where?

What I did was just remove the <br /> from the if statement and everything lines up nicely no matter what width I set it as they are all inline elements.

Not sure what else that affects though as I only use it in my sidebar.

andriy_gerasika’s picture

you should set the variable in "Variable overrides" section of settings.php

andriy_gerasika’s picture

made admin interface for configuring the variable user-friendly way
http://drupal.org/cvs?commit=477786