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

feat(ImageCard): add contentPosition #919

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

DC-RomanKarpov
Copy link
Contributor

  • generalize contentPosition behavior for all cards

+ generalize contentPosition behavior for all cards
@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@@ -15,7 +15,7 @@ import './LayoutItem.scss';
const b = block('layout-item');

const LayoutItem = ({
content: {links, buttons, ...content},
Copy link
Collaborator

Choose a reason for hiding this comment

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

why are we removing the buttons?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because we pass them to the Content component directly. We do not make any transformations with them like with links.

@DC-RomanKarpov DC-RomanKarpov merged commit 7df0d3a into main Apr 15, 2024
4 checks passed
@DC-RomanKarpov DC-RomanKarpov deleted the image-card--control-position branch April 15, 2024 10:40
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.

None yet

3 participants