-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Input box renders oddly in Firefox (offending CSS block identified) #10252
Comments
add form-control to input
|
That does work, but not necessarily efficient if I don't want the other style attributes that come with that (i.e. if I don't want width: 100%) |
if you set a col-[xs-sm-md-lg]-* to div ? what context want to use input ? |
Confirmed on Mac Firefox. Dammit Fennec! |
So?
|
Use: @media (max-width: @screen-sm-max) {
button,
input,
select[multiple],
textarea {
background-image: none;
}
} instead of: button,
input,
select[multiple],
textarea {
background-image: none;
} It'll just target mobile devices (phones and tablets), no desktop. @tagliala No, |
@zdroid I don't like your solution because it is based on screen size It should be fine adding that property to form-control because this issue only happens in unstyled controls: http://jsfiddle.net/aLaXs/9/ |
kk 2013/8/28 Geremia Taglialatela [email protected]
Zlatan Vasović - ZDroid |
@tagliala As I mentioned above, adding '.form-control' changes other CSS properties of the , which may not be desired. I get that it may not be best practice to exclude '.form-control', but surely there is a simpler solution? |
@jml6m I didn't say that, sorry I mean... a solution could be remove button, input, select[multiple], textarea {
background-image: none;
} and add This solution was also suggested by necolas: necolas/normalize.css#214 (comment) |
Confirmed on Win FF23 |
No further confirmation is necessary! |
fix #10252 by restricting Android Firefox reset to only .form-control & .btn
…orm-control & .btn
Nvm, it seems adding padding creates a similar looking issue as the input control has a fixed height by default. |
…orm-control & .btn
Here is a JSFiddle (open in Firefox): http://jsfiddle.net/aLaXs/
Notice the odd, ugly shadowing effect that's applied only in Firefox browsers. Offending CSS block is this:
By disabling this effect using Firebug or similar software, the text box looks normal again. Is there a workaround for this? I'm trying to add other attributes to my style.css to counteract this effect, but nothing seems to be working. I've tried adding:
None of them has worked. Text box looks normal in other browsers.
The text was updated successfully, but these errors were encountered: