-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Link images don't get centered #4708
Comments
Can you create a jsfiddle illustrating the problem? |
It's pretty obvious that you didn't assign those classes to same kind of elements so that's probably why you aren't getting the same result. Check your code again :) |
@mihokovic Yeah, I know they are different elements. Using the classes .ui.image with elements is reflected in the documentation. Since that's how it's defined in the documentation it should either behave the same way (it does with other variations like size or circular) or make a explicit note that this specific variation (centered) is not appliable to link images. |
So as a workaround I suggest hack the css or inline style to |
@saitonakamura thanks, now I put it up for debate if either: a) include this fix (we should check for other undesired interactions) a.ui.image.centered{
display: block;
} b) include in the documentation a note about the centered variation not working with the type "link images" I think one of those should be executed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
First image gets centered, second one (the ) doesn't.
EDIT: Added Jsfiddle https://jsfiddle.net/n8u8he15/
The text was updated successfully, but these errors were encountered: