Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CSS class of images is a bit generic #209

Closed
@choldgraf

Description

@choldgraf

It seems like the rendered images in the HTML have a class of align-center. It might be helpful for some projects to set a class that is a little bit more sphinx-gallery specific (e.g. sg-inline). That way projects could write CSS rules for the output. Any reason not to implement something like this at least as an option in the config file? e.g. {'img_class': 'something'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions