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

inconsistent vertical-align css causes misalignment #4

Open
rsninja722 opened this issue Mar 18, 2022 · 1 comment
Open

inconsistent vertical-align css causes misalignment #4

rsninja722 opened this issue Mar 18, 2022 · 1 comment

Comments

@rsninja722
Copy link

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;
}
@rvarun11
Copy link
Member

rvarun11 commented Apr 5, 2022

@rsninja722 Can you please elaborate more, preferably with screenshots?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants