mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
update md segment
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
// Segment
|
||||
// --------------------------------------------------
|
||||
|
||||
$segment-button-padding: 0 16px !default;
|
||||
|
||||
|
||||
ion-segment {
|
||||
display: flex;
|
||||
@ -16,22 +14,16 @@ ion-segment {
|
||||
|
||||
.segment-button {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding: $segment-button-padding;
|
||||
|
||||
flex: 1;
|
||||
width: 0;
|
||||
|
||||
border-width: 1px 0px 1px 1px;
|
||||
border-radius: 0;
|
||||
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
background: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user