octicon-rss(16/)
You've already forked ionic-framework
mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
fix(many): add correct scale to stacked labels (#28163)
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
committed by
GitHub
gitea-unlock(16/)
parent
53203dbfd5
commit
8cb878669e
octicon-diff(16/tw-mr-1) 154 changed files with 145 additions and 31 deletions
@@ -693,11 +693,11 @@
|
||||
:host(.textarea-label-placement-stacked) .label-text-wrapper,
|
||||
:host(.has-focus.textarea-label-placement-floating) .label-text-wrapper,
|
||||
:host(.has-value.textarea-label-placement-floating) .label-text-wrapper {
|
||||
@include transform(translateY(50%), scale(#{$textarea-floating-label-scale}));
|
||||
@include transform(translateY(50%), scale(#{$form-control-label-stacked-scale}));
|
||||
|
||||
/**
|
||||
* Label text should not extend
|
||||
* beyond the bounds of the textarea.
|
||||
*/
|
||||
max-width: calc(100% / #{$textarea-floating-label-scale});
|
||||
max-width: calc(100% / #{$form-control-label-stacked-scale});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user