mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
34 lines
479 B
SCSS
34 lines
479 B
SCSS
|
|
// Label
|
|
// --------------------------------------------------
|
|
|
|
|
|
ion-label {
|
|
display: block;
|
|
max-width: 200px;
|
|
font-size: inherit;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
[fixed-label] ion-label {
|
|
width: 30%;
|
|
min-width: 100px;
|
|
max-width: 200px;
|
|
}
|
|
|
|
ion-input[stacked-label] {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
|
|
ion-label {
|
|
align-self: stretch;
|
|
margin-bottom: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.text-input {
|
|
align-self: stretch;
|
|
width: auto;
|
|
}
|
|
}
|