Skip to content

inconsistent vertical-align css causes misalignment #4

@rsninja722

Description

@rsninja722

the CSS for cs1xd3.online/RenderPublishedModule includes the following rule when cs1xd3.online/Code does not.

img {
    vertical-align: middle;
    border-style: none;
}

this inconsistency will change the alignment of some images in modules that include images in html shapes when viewing forkable or shared versions of the module

adding the following rule to the CSS of cs1xd3.online/RenderPublishedModule will solve this

foreignObject > img {
    vertical-align: unset;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions