-
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(CellButton): decrease space between icon and text #7658
fix(CellButton): decrease space between icon and text #7658
Conversation
We compensate it with negative margin to keep right distance
size-limit report 📦
|
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. |
e2e tests |
👀 Docs deployed
Commit 4eadae4 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7658 +/- ##
=======================================
Coverage 95.18% 95.18%
=======================================
Files 383 383
Lines 11347 11347
Branches 3726 3726
=======================================
Hits 10801 10801
Misses 546 546
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.
👍
исправлен слишком большой отступ между иконкой в before и текстом в режиме centered.
исправлен слишком большой отступ между иконкой в before и текстом в режиме centered.
✅ v6.7.2 🎉 |
Описание
Расстояние между иконкой, помещённой в
before
и текстом в режимеcentered
больше чем раньше.Изменения
Уменьшаем расстояние за счёт отрицательного марджина на размер паддинга по умолчанию, заданного в
before
. Используем css переменную.Иначе сделать никак, потому что паддинг задаётся в
SimpleCell__before
и он сразу больше того значения, которое мы хотим задать в режимеcentered
.12px
против8px
.Release notes
Исправления
before
и текстом в режимеcentered
.