mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(segment): fixed display of segment on iOS and MD mode
references #356
This commit is contained in:
@@ -15,6 +15,12 @@ $segment-button-ios-hover-opacity: 0.16 !default;
|
||||
|
||||
$segment-button-ios-toolbar-button-max-width: 100px !default;
|
||||
|
||||
|
||||
ion-segment {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ion-segment {
|
||||
|
||||
button,
|
||||
|
||||
@@ -36,7 +36,7 @@ $segment-button-md-border-bottom: 2px solid rgba(#000000, 0.10) !de
|
||||
|
||||
ion-toolbar {
|
||||
.ion-segment {
|
||||
width: 80%;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user