-
-
Notifications
You must be signed in to change notification settings - Fork 333
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] "link" images are not centered #1608
Comments
@layershifter , You don't need to specify |
@ko2in As I see you moved all CSS classes to It feels confusing... |
@layershifter You're right that the doc looks confusing. I guess you should provide specific rule to your link to display as block if you're willing to present the image as a link and align center. Currently, the center alignment only applies to I'll check later if I should submit PR for that. |
@ko2in here is a quick jsfiddle. Providing |
@lubber-de Maybe, this should work: https://jsfiddle.net/spq9kLd3/ |
@ko2in Looks good! Will you prepare a PR? |
Yes. I'll do more investigations and prepare PR. |
…TML element The current image component can only be centered with img element. It is not able to center when using a different HTML element, for example, an image link with anchor tag or a DIV container. This PR would support to center the image not only for img tag, but also for other HTML element by using `centered` flag. This PR would also support to display the group images horizontally center. Additionally the group images can now share the same vertical alignment as `top`, `middle` or `bottom` together or can have it's own vertical alignment. Closes: fomantic#1608
Fixed by #1618 |
Bug Report
The issue was originally reported in Semantic-Org/Semantic-UI#4708 and then in Semantic-Org/Semantic-UI-React#3953.
Steps to reproduce
Expected result
All images are centered.
Actual result
Link images are not centered.
Testcase
https://jsfiddle.net/epc4nL2a/
Screenshot (if possible)
Version
2.8.6
The text was updated successfully, but these errors were encountered: