File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,10 @@ Define the base styles for an input-group for a numeric field.
137137
138138``` less
139139.input-group-numeric (
140- @width : Number
140+ @icon-selector : Class,
141+ @input-selector : Class,
142+ @width : Number,
143+ @icon-size : Number
141144)
142145```
143146
Original file line number Diff line number Diff line change 144144
145145 .input-group-numeric (
146146 @icon-selector ,
147+ @input-selector ,
147148 @width : @oui-input-group-numeric-width ,
148149 @icon-size : @oui-input-group-numeric-icon-size
149150 ) {
153154 .@{icon-selector} ::before {
154155 font-size : @icon-size ;
155156 }
157+
158+ .@{input-selector} {
159+ text-align : center ;
160+ }
156161 }
157162}
Original file line number Diff line number Diff line change 1616 }
1717
1818 &_numeric {
19- #oui > .input-group-numeric (@oui-icon-selector );
19+ #oui > .input-group-numeric (@oui-icon-selector , @oui-input-selector );
2020 }
2121}
You can’t perform that action at this time.
0 commit comments