developertools-tech / developertools-tech/developertools.tech

[Bug]: Aspect ratio preview odd behavior

Ouverte
#1 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug good first issue hacktoberfest help wanted
Langage dominant
TypeScript
Étoiles
41
Forks
44
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.