-
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(RichCell): add prop afterAlign #7192
Conversation
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 0b6d36b |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7192 +/- ##
==========================================
+ Coverage 92.51% 92.54% +0.02%
==========================================
Files 374 374
Lines 11109 11115 +6
Branches 3640 3643 +3
==========================================
+ Hits 10278 10286 +8
+ Misses 831 829 -2
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.
👍🏽
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.
👍
Описание
Добавить возможность выравнивания
after
компонента по вертикали в компонентеRichCell
Изменения
RichCell
, вынесafter
компонента из блокаRichCell__content
.afterAlign
, с помощью которого можно менять выравнивание компонента по вертикалиUPD
Согласовал с дизайном следующее поведение:
Если передан
afterAlign: 'start'
рендеримafter
как раньше.Если передан другой
afterAlign
, то рендерим в другом контейнере, чтобы можно было выравнять по вертикали