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 can't be centered if href is provided #2022

Closed
dguo opened this issue Aug 29, 2017 · 1 comment
Closed

Image can't be centered if href is provided #2022

dguo opened this issue Aug 29, 2017 · 1 comment

Comments

@dguo
Copy link
Contributor

dguo commented Aug 29, 2017

Steps

Create an Image with centered set to true and with a href defined (to render it as an <a> tag). Apologies if this is actually a CSS issue. As a workaround, I'm putting the Image in a Container with textAlign set to center.

Expected Result

The image is centered, and it links to the href.

Actual Result

The image is left-aligned, and it links to the href.

Version

0.71.4

Testcase

https://codepen.io/anon/pen/qXQpyx

Both images have the centered property, but the first one has the href set.

@layershifter
Copy link
Member

@dguo Thanks for detailed report, but it's really a CSS issue, Semantic-UI#4708.

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

No branches or pull requests

2 participants