mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(segment): height fits content (#16511)
* fix(segment): height fits content * fix segment
This commit is contained in:
@ -8,7 +8,6 @@
|
||||
|
||||
display: flex;
|
||||
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
|
16
core/src/components/segment/test/bug/index.html
Normal file
16
core/src/components/segment/test/bug/index.html
Normal file
@ -0,0 +1,16 @@
|
||||
<link href="../../../../../css/ionic.bundle.css" rel="stylesheet">
|
||||
<link href="../../../../../scripts/testing/styles.css" rel="stylesheet">
|
||||
<script src="../../../../../dist/ionic.js"></script>
|
||||
|
||||
<ion-segment>
|
||||
<ion-segment-button value="all" checked>
|
||||
<ion-label>
|
||||
All
|
||||
</ion-label>
|
||||
</ion-segment-button>
|
||||
<ion-segment-button value="favorites">
|
||||
<ion-label>
|
||||
Favorites
|
||||
</ion-label>
|
||||
</ion-segment-button>
|
||||
</ion-segment>
|
Reference in New Issue
Block a user