In the (Seven) Dashboard the Switch User block wastes a lot of space, see the attached screenshot. I've tried in vain to get the [Switch] button to align with the entry field, similar to the Search block. If the column is not wide enough, it should wrap below the 'Enter username', of course.

Can anyone help with this?

Files: 
CommentFileSizeAuthor
#2 devel.theme-switch_user_block.908830.2.patch1.5 KBsalvis
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel.theme-switch_user_block.908830.2.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]
Dashboard-blocks.png5.39 KBsalvis

Comments

Try adding this to your style sheet:

#devel-switch-user-form .form-item-username {
float: left;
margin-right: 1em;
}

Status:Active» Needs review
StatusFileSize
new1.5 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel.theme-switch_user_block.908830.2.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

@cindyr: Thank you for your help — I'm sorry for letting this sit so long.

The Dashboard doesn't like the Switch User block anyway (it doesn't display the user list at all anymore). But no one has complained so far, so I assume no one wants to put the block into the Dashboard anyway.

However, the inefficient and ugly styling has bothered me on other occasions, too, especially in Seven, and whenever the block is put into the body or footer region. Having a column of user names just doesn't work so well in a wide region.

I think the attached patch should make things much better.

Status:Needs review» Fixed

Committed to 8/7.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.