Skip to content

Conversation

@breity
Copy link
Member

@breity breity commented Jan 16, 2026

Changes

Tailwind adds display: block to media elements (img, svg, video, canvas, audio, iframe, embed, object). This PR reverts media elements to browser defaults. Adding display: block to images and other elements was causing visual problems for existing unit content.

Test

Check that images can display inline by default (see the open response in this step, for example: https://wise.berkeley.edu/preview/unit/40050/node23.)

@breity breity self-assigned this Jan 16, 2026
@qltysh
Copy link

qltysh bot commented Jan 16, 2026

Qlty

Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Copy link
Member

@hirokiterashima hirokiterashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@breity breity merged commit 6e8ab32 into develop Jan 20, 2026
4 checks passed
@breity breity deleted the revert-image-and-media-display branch January 20, 2026 17:31
@hirokiterashima
Copy link
Member

🎉 This PR is included in version 5.202.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants