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

[Image] Image Group css should only apply to direct children #6224

Closed
jacknevitt opened this issue Feb 27, 2018 · 1 comment
Closed

[Image] Image Group css should only apply to direct children #6224

jacknevitt opened this issue Feb 27, 2018 · 1 comment
Milestone

Comments

@jacknevitt
Copy link

jacknevitt commented Feb 27, 2018

Steps

<div class="ui small images">
  <a href="http://google.com" class="ui medium image">
    <img src="https://source.unsplash.com/bmALnwwLumQ/150x100"/>
  </a>
  <a href="http://google.com" class="ui medium image">
    <img src="https://source.unsplash.com/bmALnwwLumQ/150x100"/>
  </a>
</div>

Expected Result

Correct margins are only applied to <a> and not <img>

Actual Result

Margin is applied to both <a> and <img>

Version

2.3.0

Testcase

https://codepen.io/Jacknev/pen/QQJZMY

@jlukic jlukic added this to the 2.3.1 milestone Feb 28, 2018
jlukic added a commit that referenced this issue Mar 19, 2018
@jlukic
Copy link
Member

jlukic commented Mar 19, 2018

Fixed in 2.3.1

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

No branches or pull requests

2 participants