Skip to content

fix(media): remove fixed dimensions for fluid width - #177

Merged
versenilvis merged 1 commit into
versenilvis:mainfrom
mustan-ali:main
Oct 15, 2026
Merged

versenilvis merged 1 commit into
versenilvis:mainfrom
mustan-ali:main

Conversation

@mustan-ali

Copy link
Copy Markdown
Contributor

Removed width=1920 and height=1080 attributes. Replaced them with width: 100% to stop the video from stretching and make it responsive.

Removed width=1920 and height=1080 attributes. Replaced them with width: 100% to stop the video from stretching and make it responsive.
@versenilvis

versenilvis commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

does fixed 1080x1920 have any problem on other devices?

@mustan-ali

Copy link
Copy Markdown
Contributor Author

Yes, fixed dimensions can cause layout issues on different screen sizes. Using width: 100% makes the video responsive without stretching or distorting it.

@versenilvis
versenilvis merged commit 38215d7 into versenilvis:main Oct 15, 2026
2 checks passed
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.

2 participants