File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ Mixin | Description
143
143
` mdc-tab-fixed-width($width) ` | Sets the fixed width of the tab. The tab will never be smaller than the given width.
144
144
` mdc-tab-horizontal-padding($padding) ` | Sets the horizontal padding of the tab.
145
145
` mdc-tab-height($height) ` | Sets custom height to tab bar.
146
+ ` mdc-tab-text-transform($transform) ` | Sets tab ` text-transform ` property
146
147
147
148
## ` MDCTab ` Properties and Methods
148
149
Original file line number Diff line number Diff line change 204
204
}
205
205
}
206
206
207
+ ///
208
+ /// Sets tab text transform
209
+ ///
210
+ /// @param {String} $transform The text-transform property to apply.
211
+ ///
212
+ @mixin mdc-tab-text-transform ($transform , $query : mdc-feature-all ()) {
213
+ $feat-structure : mdc-feature-create-target ($query , structure );
214
+
215
+ @include mdc-feature-targets ($feat-structure ) {
216
+ text-transform : $transform ;
217
+ }
218
+ }
219
+
220
+
207
221
//
208
222
// Private
209
223
//
Original file line number Diff line number Diff line change 296
296
@include mdc-tab-without-ripple ($query : $query );
297
297
@include mdc-tab-ripple ($query : $query );
298
298
@include mdc-tab-height (0 , $query : $query );
299
+ @include mdc-tab-text-transform (uppercase , $query : $query );
299
300
@include mdc-tab-bar-density (0 , $query : $query );
300
301
@include mdc-tab-bar-stacked-density (0 , $query : $query );
301
302
@include mdc-tab-bar-tab-scroller-transition (0 , $query : $query );
You can’t perform that action at this time.
0 commit comments