Skip to content

Commit a690520

Browse files
committed
Move rules to better place in the file
1 parent 1884b6a commit a690520

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

core/src/components/textarea/textarea.ionic.scss

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,6 @@
112112
padding-bottom: var(--padding-bottom);
113113
}
114114

115-
/**
116-
* Removes the margin between the textarea and the label,
117-
* as ionic team already handles the margin.
118-
*/
119-
:host(.textarea-label-placement-stacked) textarea,
120-
:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after {
121-
@include globals.margin(0px);
122-
}
123-
124115
// Textarea Highlight
125116
// ----------------------------------------------------------------
126117

@@ -205,6 +196,18 @@
205196
transition: opacity globals.$ion-transition-time-150 globals.$ion-transition-curve-expressive;
206197
}
207198

199+
// Textarea Label Placement - Stacked
200+
// ----------------------------------------------------------------
201+
202+
/**
203+
* Removes the margin between the textarea and the label,
204+
* as ionic team already handles the margin.
205+
*/
206+
:host(.textarea-label-placement-stacked) textarea,
207+
:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after {
208+
@include globals.margin(0px);
209+
}
210+
208211
// Textarea Label Placement - Fixed
209212
// ----------------------------------------------------------------
210213

0 commit comments

Comments
 (0)