Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select form in firefox bit ugly #765

Closed
mabuse opened this issue Dec 6, 2011 · 23 comments
Closed

select form in firefox bit ugly #765

mabuse opened this issue Dec 6, 2011 · 23 comments
Milestone

Comments

@mabuse
Copy link

mabuse commented Dec 6, 2011

The select form in chrome is displayed beatifully compared to firefox (at least my version 6.0.2) where you see an "ugly" arrow.

I am not sure whether it can be solved or not and it isn't actually a bug.. It also happens in twitter preferences.

@tommymorgan
Copy link

What operating system are you using? I use Windows 7 and the select element looks the same in Chrome and Firefox.

@pokonski
Copy link
Contributor

pokonski commented Dec 8, 2011

This is Gecko's issue on Linux, I believe.

Firefox 8.0 on Fedora 16:
firefox

Also on a sidenote your Firefox is outdated. It's already 8.0, not 6.

@mabuse
Copy link
Author

mabuse commented Dec 8, 2011

Yep, you are right.

The image you provided is the same issue I've seen. Same happens in twitter

I use ubuntu 11.04 with xfce and firefox 6.0.2 (outdated it seems).

@pokonski
Copy link
Contributor

pokonski commented Dec 8, 2011

I think there's no fix for that, Firefox simply does not allow styling that arrow.

EDIT: Just checked on Windows. This does not work at all in Firefox.

@mabuse
Copy link
Author

mabuse commented Dec 8, 2011

I believe It can be in someway solved. In twitter preferences, if you disable following lines:

border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;

The select displays nicer

@pokonski
Copy link
Contributor

pokonski commented Dec 8, 2011

But if you disable that you will ruin the looks on everything else.

@mabuse
Copy link
Author

mabuse commented Dec 8, 2011

That's right.. It does not seem to have an easy solution. At least, if we want to avoid using browser tweaks.

@dubcanada
Copy link

I don't think using a browser hack for less then 1% of the viewers is really wise. But that's just my thought.

@mabuse
Copy link
Author

mabuse commented Dec 13, 2011

It seems all firefox versions are affected (please check). Windows included. It means at least 25% market share. anyway, as I told before it is not that important. Only a little issue.

@dubcanada
Copy link

Select looks fine in Firefox on Windows.

@mabuse
Copy link
Author

mabuse commented Dec 14, 2011

If the issue only happens in linux and firefox it is not that important. We can close it

@mabuse mabuse closed this as completed Dec 14, 2011
@mabuse mabuse reopened this Dec 14, 2011
@mabuse mabuse closed this as completed Dec 14, 2011
@leoromanovsky
Copy link

This issue is also present on Firefox for OSX. I have the most recently updated version of FF.

The problem goes away and the default Firefox style is restored when the:

border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px;

Styles are disabled.

@mdo
Copy link
Member

mdo commented Jan 7, 2012

The image that @pokonski provided is how the fields are intended to look (though they should be white, and I believe that's fixed in 2.0-wip).

@mdo mdo closed this as completed Jan 7, 2012
@pokonski
Copy link
Contributor

pokonski commented Jan 7, 2012

Yes, my screenshot is from an older version.

@joeguo
Copy link

joeguo commented Feb 23, 2012

Select form looks really ugly on Firefox 10.02 & Safari 5.1.2

@gerrywastaken
Copy link

@markdotto

The image that @pokonski provided is how the fields are intended to look...

Padding between the element's border and the dropdown arrow element control is quite inconsistent when compared with something like the multiple selection input which has no space between it's border and element control. Other elements such as the button append also have no padding between the border and element control.

If you had said that this is just a limitation of Firefox on Linux then that would be fine, but saying that's "how the fields are intended to look" is disingenuous and will lead to it never getting addressed as people will just think it's a bad bootstrap design decision which somebody is probably religious about instead of something that just needs fixing (possibly in Gecko).

daveobriencouk pushed a commit to egocreative/bootstrap that referenced this issue Nov 18, 2012
@gerrywastaken
Copy link

At last, sexy selects: https://github.com/silviomoreto/bootstrap-select

@jacob-carlborg
Copy link

It looks the same on Mac OS X 10.6.3 using Firefox 20. It looks even more horrible in Chrome 26 and Safari.

@gerrywastaken nice styling for the selects.

@d-rikhtehgaran
Copy link

same issue on firefox 20 linux mint14

@jacand
Copy link

jacand commented Jul 15, 2013

Have the exact same issue on FF 22.0 on OSX 10.8.4

@old-account
Copy link

same issue on Firefox 23.0 on OSX 10.8.4

@tejl
Copy link

tejl commented Oct 13, 2013

Same issue on FF 20.0 on Ubuntu 11.10 (yes out dated)

@sinak
Copy link

sinak commented Jun 10, 2014

I found two ways of solving this:

1 - Use Chosen
2 - Target mozilla browsers using @-moz-document url-prefix() like so:

@-moz-document url-prefix() {
select {
    padding: 5px;
  }
  }

@twbs twbs locked and limited conversation to collaborators Jun 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests