Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elements/pf-button/pf-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ button:hover {
:host([block]) button {
display: flex;
width: 100%;
justify-content: var(--pf-c-button--JustifyContent, center);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why this change?

Copy link
Copy Markdown
Contributor Author

@eyevana eyevana Apr 18, 2023

Choose a reason for hiding this comment

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

I removed this and opened that separate PR to add the CSS var, but opting for a part on the button instead.

https://github.com/patternfly/patternfly-elements/pull/2470/files

justify-content: center;
}

/******************************
Expand Down
1 change: 0 additions & 1 deletion elements/pf-pagination/pf-pagination.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@

#container #options-menu #menu-list .menu-item {
white-space: nowrap;
--pf-c-button--JustifyContent: start;
--pf-c-button--PaddingTop: var(--pf-c-options-menu__menu-item--PaddingTop, var(--pf-global--spacer--sm, .5rem));
--pf-c-button--PaddingRight: var(--pf-c-options-menu__menu-item--PaddingRight, var(--pf-global--spacer--md, 1rem));
--pf-c-button--PaddingBottom: var(--pf-c-options-menu__menu-item--PaddingBottom, var(--pf-global--spacer--sm, .5rem));
Expand Down