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

Single step border radius fix #2869

Merged
merged 1 commit into from
Aug 18, 2015
Merged

Single step border radius fix #2869

merged 1 commit into from
Aug 18, 2015

Conversation

eiof
Copy link
Contributor

@eiof eiof commented Aug 18, 2015

There's an issue with the single step element where the border radius style is adhering to a "last child" case. You can see the bug here: http://jsfiddle.net/o7wn9xjd/. I am able to replicate in IE10, IE11, Chrome, Safari and Firefox (I did not test the mobile browsers).

The solution addresses the concept of "the latter rule wins". In this case, the rule for :last-child holds true during any :only-child case. This was overriding the :only-child style.

@jlukic jlukic added this to the 2.1 milestone Aug 18, 2015
@jlukic jlukic merged commit 8732d53 into Semantic-Org:next Aug 18, 2015
@jlukic
Copy link
Member

jlukic commented Aug 18, 2015

Thanks for the clear test case and fixed. Added, but removed nested less rules (we don't use those internally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants