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

fix(image): Support the image to be centered when using a different H… #1618

Merged
merged 1 commit into from
Jul 30, 2020

Commits on Jul 29, 2020

  1. fix(image): Support the image to be centered when using a different H…

    …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
    ko2in committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    bd2c704 View commit details
    Browse the repository at this point in the history