-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(UsersStack): make counter width adaptive #8066
fix(UsersStack): make counter width adaptive #8066
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
size-limit report 📦
|
e2e tests
|
👀 Docs deployed
Commit caa57a4 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8066 +/- ##
==========================================
+ Coverage 95.54% 95.58% +0.04%
==========================================
Files 398 393 -5
Lines 11306 11205 -101
Branches 3734 3690 -44
==========================================
- Hits 10802 10710 -92
+ Misses 504 495 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Классно с border-radius придумал!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 🧠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good
* fix(UsersStack): make counter width adaptive * fix: add screenshots * test: update screenshots * fix: remove unused selectors
Описание
Сейчас, в счетчике в компоненте
UsersStack
при двузначном числе, числа прилипают к краям при размере компонента'm'
. Нужно сделать так, чтобы ширина счетчика увеличивалась адаптивно содержимомуИзменения
UsersStack
, так чтобы ширина увеличивалась в случае, если текст не помещалсяДля дизайн ревью
Чтобы посмотреть новое поведение можно зайти в сторибук, в компонента
UsersStack
, и поменять свойствоcount
на двузначное числоRelease notes
Исправления