mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
label colors
This commit is contained in:
33
ionic/components/text-input/label.scss
Normal file
33
ionic/components/text-input/label.scss
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user