feat(segment-button): add --indicator-height property to segment button (#19653)

This commit is contained in:
Nikos Douvlis
2020-01-23 22:55:57 +02:00
committed by Brandy Carney
parent b59d7647fd
commit d76a5031c4
6 changed files with 12 additions and 6 deletions

View File

@ -32,6 +32,7 @@
*
* @prop --transition: Transition of the segment button
*
* @prop --indicator-height: Height of the indicator for the checked segment button
* @prop --indicator-box-shadow: Box shadow on the indicator for the checked segment button
* @prop --indicator-color: Color of the indicator for the checked segment button
* @prop --indicator-transition: Transition of the indicator for the checked segment button
@ -230,7 +231,7 @@ ion-ripple-effect {
.segment-button-indicator-background {
width: 100%;
height: 100%;
height: var(--indicator-height);
transform: var(--indicator-transform);