developertools-tech / developertools-tech/developertools.tech

[Bug]: Aspect ratio preview odd behavior

未关闭
#1 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue hacktoberfest help wanted
主要语言
TypeScript
星标
41
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。