TJRawlins / IrrigationManagerReact

Frontend irrigation management system (React TS)
1 stars 0 forks source link

BUG: React - Image size too large for edit zone when firebase image doesn't exist #121

Open TJRawlins opened 16 hours ago

TJRawlins commented 16 hours ago

⛔️ Bug Item

🔴 Description:

When zone image no longer exist in firebase storage, but zone imagePath still exist on the zone, the image placeholder width in the zone edit card is too large and pushes the upload image button out of the card.

🔴 Steps To Reproduce:

  1. Go to Zones Page
  2. Click on the edit icon for the zone that no longer has the image stored in firebase
  3. In the edit card, you will see that the image placeholder width is too large and pushes the upload image button out of card

🔴 Screenshots:

Image

🔴 Desktop:

OS: Windows 11 Browser: Chrome Version: 130.0.6723.60

🔴 Mobile Device:

OS: Browser: Version:

🔴 Optional additional items:

Issue default title: Assignees: Labels:

TJRawlins commented 16 hours ago

Possible fix would be to add a max-width for the image so it never exceeds that width.