Skip to content

Conversation

@DaveDev13
Copy link

A small edit that will get rid of unnecessary code and give access to the inside of the button for styling

To avoid unnecessary code, as in example #29935

Issue number: resolves #29935


What is the current behavior?

Currently, there is no access to .button-inner, which means there is no way to change the behavior of justify-content, align-items or flex

What is the new behavior?

Adds access to the element in css via ::part(inner)

Does this introduce a breaking change?

  • Yes
  • No

A small edit that will get rid of unnecessary code and give access to the inside of the button for styling

To avoid unnecessary code, as in example ionic-team#29935
@DaveDev13 DaveDev13 requested a review from a team as a code owner December 3, 2025 04:04
@DaveDev13 DaveDev13 requested a review from gnbm December 3, 2025 04:04
@vercel
Copy link

vercel bot commented Dec 3, 2025

@DaveDev13 is attempting to deploy a commit to the Ionic Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the package: core @ionic/core package label Dec 3, 2025
@brandyscarney brandyscarney changed the title Update button.tsx feat(button): add button inner part Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add --justify-content variable to button component

1 participant