-
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
feat(snackbar): compensate bottom margin #6659
feat(snackbar): compensate bottom margin #6659
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. |
e2e tests |
👀 Docs deployed
Commit f1171d2 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6659 +/- ##
=======================================
Coverage 82.35% 82.36%
=======================================
Files 335 335
Lines 10332 10336 +4
Branches 3461 3463 +2
=======================================
+ Hits 8509 8513 +4
Misses 1823 1823
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.
Спасибо за правку ✨
Решение имеет место быть, но из-за того, что у нас значения отступов "динамичные" и параметр action
может быть не передан, нужно более универсальное решение.
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.module.css
Outdated
Show resolved
Hide resolved
507809a
to
028ea54
Compare
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.
🤝
PS: закрался пустой блок с комментариям – можешь нажать на "Apply suggestion", чтобы быстрей зарезолвить коммент
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.
🔥
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.
Нужно поправить пару моментов
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.module.css
Outdated
Show resolved
Hide resolved
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.module.css
Outdated
Show resolved
Hide resolved
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.tsx
Outdated
Show resolved
Hide resolved
b784c9e
to
d48acdd
Compare
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.
Сорри, проглядел, что надо было в Snackbar.Basic манипуляции делать :(
Спасибо @ SevereCloud, что заметил
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.tsx
Outdated
Show resolved
Hide resolved
packages/vkui/src/components/Snackbar/subcomponents/Basic/Basic.tsx
Outdated
Show resolved
Hide resolved
55d64e7
to
c33a334
Compare
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.
👍 🙏
@inomdzhon @SevereCloud спасибо за подробные пояснительные комменты. |
Описание
Скомпенсировать снизу отступ action внутри snackbar
Изменения
Выровнял отступ