8000 fix(datalist): adjust action elements, spacing by mcoker · Pull Request #7089 · patternfly/patternfly · GitHub
[go: up one dir, main page]

Skip to content

fix(datalist): adjust action elements, spacing#7089

Merged
mcoker merged 3 commits intopatternfly:mainfrom
mcoker:issue-7079
Sep 23, 2024
Merged

fix(datalist): adjust action elements, spacing#7089
mcoker merged 3 commits intopatternfly:mainfrom
mcoker:issue-7079

Conversation

@mcoker
Copy link
Contributor
@mcoker mcoker commented Sep 18, 2024

fixes #7079

This removes __action, which was only used to wrap plain actions and give them a negative top/bottom margin, and adds that negative offset to __item-action so it will apply to all actions. Got design approval for the change in patternfly/patternfly-react#10939 (comment)

@mcoker mcoker requested review from srambach and tlabaj September 18, 2024 02:25
@patternfly-build
Copy link
Collaborator
patternfly-build commented Sep 18, 2024

Copy link
Contributor
@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

do you need to remove the <div class="pf-v6-c-data-list__action"> wrapper from the examples?

@mcoker mcoker requested a review fr 8000 om tlabaj September 20, 2024 21:09
@mcoker
Copy link
Contributor Author
mcoker commented Sep 20, 2024

@tlabaj d'oh! Yep, forgot to update the handlebars to remove that element. Updated 👍

Copy link
Contributor
@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

There's some usage of the removed data-list-action component in some of the examples in the markdown file, otherwsie lgtm

@mcoker
Copy link
Contributor Author
mcoker commented Sep 23, 2024

@thatblindgeye thanks! Updated 🚀

Copy link
Member
@srambach srambach left a comment

Choose a reason for hiding this comment

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

Looks good 🎃

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.

Data list - update actions item spacing

5 participants

0