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

Commit ae9798d

Browse files
Crazywaternshahan
authored andcommitted
Similar to leading text, add mixins for trailing text color and padding.
PiperOrigin-RevId: 189624590
1 parent 3b83416 commit ae9798d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/material_input/_mixins.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,20 @@
7878
}
7979
}
8080

81+
/// Changes the padding of the trailing text.
82+
@mixin material-input-trailing-text-padding($padding) {
83+
::ng-deep .trailing-text {
84+
padding: $padding;
85+
}
86+
}
87+
88+
/// Changes the color of the trailing text.
89+
@mixin material-input-trailing-text-color($color) {
90+
::ng-deep .trailing-text {
91+
color: $color;
92+
}
93+
}
94+
8195
/// Changes the `$primary-color`in the material-input which includes the label
8296
/// text and underline.
8397
@mixin material-input-theme($primary-color) {

0 commit comments

Comments
 (0)