mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(segment): border radius applies to indicator on ios (#20541)
fixes #20539
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
<ion-app>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-segment value="Free">
|
||||
<ion-segment value="Free" id="custom-radius">
|
||||
<ion-segment-button value="Paid">
|
||||
<ion-label>Paid</ion-label>
|
||||
</ion-segment-button>
|
||||
@ -242,6 +242,12 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#custom-radius ion-segment-button {
|
||||
--background: rgba(0, 0, 255, 0.1);
|
||||
--background-checked: rgba(0, 0, 255, 0.3);
|
||||
--border-radius: 10px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Custom Checked Segment (Paid, Free, Top)
|
||||
*
|
||||
|
Reference in New Issue
Block a user