Closed (fixed)
Project:
OpenID Selector
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 22:26 UTC
Updated:
9 Jan 2011 at 15:48 UTC
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
Comment #1
andriy_gerasika commentedit 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.Comment #2
andriy_gerasika commentedfixed in
http://drupal.org/cvs?commit=462994
http://drupal.org/cvs?commit=462996
to control position @ which
<br />appears, useopenid_selector_block_widthvariable. Default value for this variable is 5.Comment #3
andriy_gerasika commentedfix is available in just released v1.4
Comment #4
SeanJA commentedUse the variable
openid_selector_block_widthwhere?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.
Comment #5
andriy_gerasika commentedyou should set the variable in "Variable overrides" section of settings.php
Comment #6
andriy_gerasika commentedmade admin interface for configuring the variable user-friendly way
http://drupal.org/cvs?commit=477786