Firefox float bug? How do I get my float:right on the same line?

前端 未结 5 817
深忆病人
深忆病人 2021-02-01 00:41

I have the following fiddle:

http://jsfiddle.net/q05n5v4c/2/

In Chrome, it renders just fine. The chevron is on the right side.

However, in Firefox, it

5条回答
  •  遇见更好的自我
    2021-02-01 01:33

    It seems like the property white-space is the cause of the issue. With the class btn this property is:

    white-space:nowrap

    If you change that property works fine:

    .btn {
        white-space:normal
    }
    

    Check the Demo Fiddle

提交回复
热议问题