mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
- aligns label and textarea to baseline - updates floating and stacked labels in items to align closer to the md spec fixes #16187
24 lines
558 B
SCSS
24 lines
558 B
SCSS
@import "./textarea";
|
|
@import "./textarea.md.vars";
|
|
|
|
// Material Design Textarea
|
|
// --------------------------------------------------
|
|
|
|
:host {
|
|
--padding-top: #{$textarea-md-padding-top};
|
|
--padding-end: #{$textarea-md-padding-end};
|
|
--padding-bottom: #{$textarea-md-padding-bottom};
|
|
--padding-start: #{$textarea-md-padding-start};
|
|
|
|
@include margin(8px, 0, 0, 0);
|
|
|
|
font-size: $textarea-md-font-size;
|
|
}
|
|
|
|
:host-context(.item-label-stacked),
|
|
:host-context(.item-label-floating) {
|
|
--padding-top: 8px;
|
|
--padding-bottom: 8px;
|
|
--padding-start: 0;
|
|
}
|