mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(label): make all ion-labels stacked or floating stretch
closes #6134
This commit is contained in:
@@ -40,16 +40,19 @@ ion-label[fixed] {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
ion-label[stacked],
|
||||
ion-label[floating] {
|
||||
.item-label-stacked ion-label,
|
||||
.item-label-floating ion-label {
|
||||
align-self: stretch;
|
||||
|
||||
margin-bottom: 0;
|
||||
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
ion-label[stacked],
|
||||
ion-label[floating] {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.item-label-stacked .input-wrapper,
|
||||
.item-label-floating .input-wrapper {
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user