p-foundation / pink-app

The repository is created for learning adaptive web design and team collaboration through git and GitHub
https://p-foundation.github.io/pink-app/
0 stars 0 forks source link

Incorrect image display for tablet version #23

Closed rasokolovska closed 6 months ago

rasokolovska commented 7 months ago

Issue Description

Background:

Up to 660px, the image is displayed on the desktop version. This is not correct, as it will take longer to load on tablet extensions.

Screenshot 2024-03-15 at 5 21 21 PM

Here is the HTML structure of the element

 <picture>
      <source srcset="images/research-timer-tablet.png" media="(max-width: 660px)">
      <img class="research__image" src="images/research-timer-desktop.png" alt="Картинка таймера">
  </picture>

Proposed Solution:

When the screen is expanded from 659px to 1199px, the research__image should change to the image for the tablet version. That is, you need to change the property max-width: 660px❌ in the <source> tag to max-width: 1199px✅.

Quick Instruction for Working on the Issue

‼️ Before moving to the new branch, make sure you have the latest updates from the main branch by running the git pull command.

MarPostovik commented 6 months ago

.take

github-actions[bot] commented 6 months ago

@MarPostovik 👋 Thanks for showing interest in this issue ❤️ This ticket seems to be in good hands with another contributor.