fix(button): fixed target area size for all button sizes (#31007)

Issue number: resolves #

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
Now target area `min-height` for Ionic theme is set to the default size
token size, which causes an issue when button size is **small**.

## What is the new behavior?
By changing this to **inherit** target area will have now the parent
height.


## Does this introduce a breaking change?

- [ ] Yes
- [X] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
This commit is contained in:
José Rio
2026-03-11 15:27:00 +00:00
committed by GitHub
parent 8b44fb509f
commit 966d6b230e

View File

@@ -19,7 +19,7 @@
position: absolute;
height: 100%;
min-height: globals.$ion-scale-1200;
min-height: inherit;
transform: translateY(-50%);