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 text bad misaligned in Firefox with alpha 5 #21096

Closed
fredgate opened this issue Nov 6, 2016 · 8 comments
Closed

Select text bad misaligned in Firefox with alpha 5 #21096

fredgate opened this issue Nov 6, 2016 · 8 comments

Comments

@fredgate
Copy link

fredgate commented Nov 6, 2016

The text in the input selects is misaligned vertically. The bottom of the text is clipped; the text is not centered vertically and is too down.
I have the problem since I upgraded to alpha 5; before with the aplha 2 version, I had not the problem.
This occurs in Firefox 49.0.2; in Internet Explorer 11, it seems correct.

Here is a jsfiddle showing the problem :
https://jsfiddle.net/hdakuemq/

@fredgate
Copy link
Author

fredgate commented Nov 8, 2016

May be that it is this rule that produces the problem :

select.form-control:not([size]):not([multiple]) {
  height: calc(2.5rem - 2px);
}

When I deactivate it, the padding is correct and the display good; but the select is too high.

@nextgenthemes
Copy link
Contributor

nextgenthemes commented Nov 10, 2016

Firefox 49.0.2 on ubuntu 16.04 I see no clipped text. A screenshot would be helpful I cant see any issue.

@fredgate
Copy link
Author

Here is a screenshot showing the problem with 49.0.2 on Windows 7 64 bits.

temp

@nextgenthemes
Copy link
Contributor

OK I don't see that in Ubuntu.

@ghost
Copy link

ghost commented Nov 18, 2016

Firefox 50.0 on OS X still has this problem. Chrome 54.0.2840.98 displays this without clipping. We're using bootstrap 4.0.0-alpha.5 with $enable-flex: true and $font-size-root: 12px.

<li class="form-group">  
    <label for="id_project_type_education_context">  
        Diplomarbeit / Dissertation  
    </label>  
    <select class="form-control">  
        <option>Dissertation</option>  
        <option>Diplomarbeit</option>  
    </select>  
</li>

select error

@bardiharborow
Copy link
Member

Cannot reproduce on Firefox 51.0a2. Possible browser bug.

Screenshot

@ghost
Copy link

ghost commented Nov 21, 2016

Problem still there with Firefox 51.0b1 under macOS 10.12.1. Also, changing height: calc(2.5rem - 2px); to height: calc(2.5rem); makes the field not cut off anymore.

@mdo
Copy link
Member

mdo commented Nov 28, 2016

Dupe of #20977, fixed with #21171.

@mdo mdo closed this as completed Nov 28, 2016
@mdo mdo added this to the v4.0.0-alpha.6 milestone Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants