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(featured-media): Add position parameter - FRONT-3638 #2545

Merged
merged 12 commits into from
Jun 1, 2022

Conversation

papegaill
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented May 24, 2022

@papegaill papegaill changed the base branch from v3-dev to v3.4.0-dev May 25, 2022 12:44
@emeryro emeryro self-assigned this May 30, 2022
@papegaill papegaill changed the title feat(featured-media): Add alignment parameter - FRONT-3638 feat(featured-media): Add position parameter - FRONT-3638 May 31, 2022
system="eu"
selectedKind="components-featured-item"
selectedStory="default"
selectedArgs="alignment:right"
Copy link
Contributor

Choose a reason for hiding this comment

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

it should be "position" instead of "alignment" on these pages

@@ -81,6 +82,17 @@ const getArgTypes = (data) => {
};
}

argTypes.alignment = {
Copy link
Contributor

Choose a reason for hiding this comment

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

it should be changed to position too, for consistency

@@ -12,6 +12,7 @@ const getArgs = (data) => {
heading: data.heading,
title: data.title,
description: data.description,
alignment: 'left',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
alignment: 'left',
position: 'left',

@emeryro emeryro merged commit 218be57 into v3.4.0-dev Jun 1, 2022
@emeryro emeryro deleted the feat/FRONT-3638 branch June 1, 2022 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants