Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 97d8122

Browse files
cissyshinshahan
authored andcommitted
Add mixin to adjust padding for multi-line material input and remove the ::ng-deep usage in awn conversions.
PiperOrigin-RevId: 207051240
1 parent eed1659 commit 97d8122

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/material_input/_mixins.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,15 @@
215215
}
216216
}
217217
}
218+
219+
/// Changes the padding of the multiline material input.
220+
@mixin multiline-material-input-padding($padding) {
221+
::ng-deep {
222+
.label,
223+
.mirror-text,
224+
.textarea {
225+
box-sizing: border-box;
226+
padding: $padding;
227+
}
228+
}
229+
}

0 commit comments

Comments
 (0)