Skip to content
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(layout/Flex): fix gap size values and remove default theme spacin… #592

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

IsaevAlexandr
Copy link
Contributor

…gs from Flex

@gravity-ui-bot
Copy link
Contributor

Preview is ready.


if (typeof space === 'object') {
s = getClosestMediaProps(space) || themeFlexProps.space;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implicit use of context was a bad design decision. Looking at the code, we must clearly understand what size is currently used in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants