Skip to content

Fix video embed size in why page#161

Merged
clhenrick merged 4 commits intomasterfrom
video-embed-responsive-sizing-fix
Apr 15, 2025
Merged

Fix video embed size in why page#161
clhenrick merged 4 commits intomasterfrom
video-embed-responsive-sizing-fix

Conversation

@clhenrick
Copy link
Owner

@clhenrick clhenrick commented Apr 15, 2025

Fixes responsive iframes in the why info page:

  • disables a webpack OptimizeCSSAssetsPlugin calc optimization rule that was causing the CSS to not work as intended
  • adds natural width and height to iframe elements to allow them to have a natural height & width which can be scaled
  • adds title attributes to iframe elements for their accessible names

@clhenrick clhenrick merged commit a0477cc into master Apr 15, 2025
5 checks passed
@clhenrick clhenrick deleted the video-embed-responsive-sizing-fix branch April 15, 2025 20:38
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

Successfully merging this pull request may close these issues.

1 participant