The text under the user login block, "Create new account" and "Request new password" is centered under the log in button. In older versions this two item list is left justified and aligned with lists in other blocks.

To view this bug, go to http://drupal.org without logging in and look at the User login block on the right. You can see how the list items do not align to the left the way the list in the New forum topics block does.

I've added a change to user.css that fixes this problem. I have tested this fix and the user block list is now left aligned while the rest of the form above it remains centered. However, I'm not familiar with css inheritance and there may be a better place to put this, which is why I have flagged it for review. This is my first time trying to submit a patch so please let me how I any future submissions I might make.

Comments

drumm’s picture

Version: 5.1 » 6.x-dev

Cosmetic changes to the site only happen in development versions since we don't want to change the look of a site on a minor 5.x upgrade.

+1 for the idea.

stevenpatz’s picture

StatusFileSize
new478 bytes

And here is a patch for HEAD

Freso’s picture

StatusFileSize
new526 bytes

I haven't tested the patch thoroughly, but it won't do any harm being checked in (apart from the left centering of "item-list"'s in the "user-login-form"). The CSS is valid and it doesn't change any existing CSS.
Also, why the line breaks before and after the new code? That doesn't seem like how the rest of the CSS file is set up. Rerolled patch without line breaks attached.

At last, the problem the patch solves, or try to solve, doesn't apply to Garland. I might test this in other situations though, at some point. But all in all it's fairly harmless patch.

pancho’s picture

Version: 6.x-dev » 7.x-dev
Assigned: thom k in the usa@thisiswhatdemocracylookslike.com » Unassigned

Don't know about this, moving to D7 anyway.

lilou’s picture

Patch still applied against CVS HEAD.

cburschka’s picture

What is wrong with the way it looks now? I am looking at Garland on D7 and don't see a problem.

catch’s picture

Component: user.module » usability

Moving to usability queue since that's the closest we have to 'themers take a look at this please'.

catch’s picture

Component: usability » user.module
Status: Needs review » Needs work
Issue tags: +CSS

Please re-roll with unix line endings.

Tor Arne Thune’s picture

Status: Needs work » Closed (fixed)

This is no longer an issue in 7.0. Tried Stark and the text was left-aligned and over the login button.