ita-social-projects / ita-social-projects/StreetCode_Client

[Wow-facts] The size of the modal should depend on the photo size

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
styles
Dominant language
TypeScript
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### **Description**
Change a modal window logic in the Wow Facts feature so that it displays photos in their original size without cropping. The size of the modal should adjust dynamically based on the dimensions of the photo.

### **Acceptance Criteria**
- The modal window should display the photo in its original size without cropping or resizing.
- The dimensions of the modal window should adapt to the dimensions of the photo to ensure it is fully visible.

### **Tasks**
1. - [ ] Check the acceptance criteria.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.