developertools-tech / developertools-tech/developertools.tech

[Bug]: Aspect ratio preview odd behavior

Open
#1 6 comments 0 reactions 0 assignees View on GitHub
bug good first issue hacktoberfest help wanted
Dominant language
TypeScript
Stars
41
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### Contact Details

_No response_

### What happened?

Choosing an extremely low width or height causes the preview window to show an inaccurate representation of that aspect ratio

### What should have happened?

Aspect ratio preview should show an accurate representation of the selected ratio

### What browsers are you seeing the problem on?

Firefox

### Version

104.0.2

### Relevant Code

https://github.com/developertools-tech/developertools.tech/blob/main/components/aspectRatio/Preview.tsx#L15

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.