-
Notifications
You must be signed in to change notification settings - Fork 20
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(plasma-new-hope): fix tabs styles #1220
Conversation
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1220/ |
Documentation preview deployed! website:https://plasma.sberdevices.ru/pr/pr-1220/ |
<SegmentProvider> | ||
<SegmentTemplate/> | ||
</SegmentProvider> | ||
<div style={{ display: "block" }} > |
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.
Зачем display?
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.
По умолчанию на первый дивак вешается flex и gap=1
⚡ Component performance testingResult: 🟢 OK |
29510c8
to
eac7747
Compare
⚡ Component performance testingResult: 🟢 OK |
Tabs
className
вTab
иTabItem
Tab
иSegment
ДО:
ПОСЛЕ:
What/why changed
В Tab и TabItem некорректно пробрасывался className, поэтому нельзя было оборачивать компонент в styled. Помимо этого в документации некорректно визуально отображались табы и сегменты
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via: