You are here

[Fixed] Sidebar Login textboxes too big under Linux

10 posts / 0 new
Last post
Simeon
Simeon's picture
Offline
Last seen: 8 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
[Fixed] Sidebar Login textboxes too big under Linux

About a week ago I noticed that the login fields are a bit too long. Maybe this can be fixed?
I made sure my Firefox's zoom settings arent set so I think its not my copy of Firefox.

EDIT: I think its me after all as other browsers are fine. I updated my Linux box last week so maybe thats the cause.

Aluísio A. S. G.
Offline
Last seen: 6 years 4 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Not only you

Firefox Aurora/7.0a2 (2011-08-07) Sidebar, not login page.

Previously known as kAlug.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 33 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Huh?

I'm not sure what you mean. The homepage doesn't have a login field.

Sometimes, the impossible can become possible, if you're awesome!

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
Firefox 7 Update

Example: http://i.imgur.com/BEeQX.png

Firefox 7 changes how input sizes are determined. The recommended method now is to just set its width in CSS, rather than using the size/row parameter.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 33 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Firefox 7

Firefox 7 shows it just fine, I just tested it. Do you mean the Firefox 8 beta? If so, I'll get to it as I have time since it's just a test browser rather than rush a fix.

Sometimes, the impossible can become possible, if you're awesome!

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
I ran across the problem last

I ran across the problem last month in a mozillaZine thread, so judging by that, I'm almost certain it's Firefox 7 that made the change.

Here's the strange thing I've noticed about this though, the size value seems to range across Operating Systems. I ran Firefox on WINE and the input field is about half the size it is on native Firefox (for Linux).

Regardless, using the size parameter to define the width of an input field is wrong, and it should be done through CSS.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 33 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Linux Only, Fixed Now

It seems to be a Linux-only issue. I just tested it in Ubuntu and the issue is present there. The size parameter is put there by Drupal and we have no control over that part. I can specify the width in CSS as well and hope it overrides it, which it should. I added it in and should hit once cache updates.

UPDATE: I flushed the cache. It's fixed.

Sometimes, the impossible can become possible, if you're awesome!

gluxon
gluxon's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2008-06-21 19:26
Sorry to bump an old post,

Sorry to bump an old post, but was the lengthened login button on purpose? I have a solution for that using css atribute selectors, just drop it anywhere in the css file.

.sidebar input[value="Log in"] {
  width: auto;
}
Simeon
Simeon's picture
Offline
Last seen: 8 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
yes

Thats what it looks like.
@John: seems to be a linux only issue indeed. Thanks for taking the time fixing it.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

dboki89
Offline
Last seen: 7 years 10 months ago
Joined: 2009-11-30 20:44
It could have been related to

It could have been related to rather large default size of system fonts used in Gnome and many linux distros. I'd check for myself, but have no clue what CSS change was made to fix it in the first place.

My posts are old and likely no longer relevant.

Log in or register to post comments