Sunagatov / Iced-Latte-Frontend

a online Marketplace for coffee retail (Frontend)
https://iced-latte.uk
MIT License
210 stars 48 forks source link

(HEADER) The cart and favorites counters have incorrect display of 3-digit numbers #267

Open Diana-Smolnikova opened 1 month ago

Diana-Smolnikova commented 1 month ago

To Reproduce Steps to reproduce the behavior:

  1. Open
  2. Add product in the shopping cart
  3. Add product in the favorites
  4. Open DevTools
  5. In Elements change the number of items to a 3-digit number in the cart, for example (111)
  6. In Elements change the number of items to a 3-digit number in the favorites, for example (321)

Expected behavior The counter displays 3-digit numbers correctly

Screenshots

Снимок экрана 2024-07-23 в 20 37 51
Akhi88S commented 2 weeks ago

Hello @ilsinyakov @Diana-Smolnikova , can you assign this to me? I'd like to take it up.

ilsinyakov commented 2 weeks ago

Hello @ilsinyakov @Diana-Smolnikova , can you assign this to me? I'd like to take it up.

Hello. Done

Akhi88S commented 2 weeks ago

Hello @Diana-Smolnikova @ilsinyakov , Is there a maximum number of digits that we can display in this area? Often, products use labels like "99+" or "999+" to manage larger numbers.

To address this, we might need to either enlarge the blue circular area or reduce the font size within to accommodate more digits. Could you please provide some clarification on this?