File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 3838 background-image : none ;
3939 padding : 0 ;
4040
41+ @at-root {
42+ // Handle input-group padding overrides
43+ .input-group & {
44+ padding : 0 ;
45+ }
46+ }
47+
4148 @at-root {
4249 // Prevent the button/label from reversing order on in horizontal RTL mode
4350 [dir = " rtl" ] & ,
7885 padding-left : 0.25rem ;
7986 margin : 0 ;
8087 border : 0 ;
88+ font-size : inherit ;
8189 @if $enable-pointer-cursor-for-buttons {
8290 cursor : pointer ;
8391 }
93101 & .form-control-lg {
94102 min-height : calc (#{$input-height-lg } - #{$input-height-border } );
95103 }
104+
105+ @at-root {
106+ // Handle input group sizing
107+ .input-group.input-group-sm & {
108+ min-height : calc (#{$input-height-sm } - #{$input-height-border } );
109+ padding-top : $input-padding-y-sm ;
110+ padding-bottom : $input-padding-y-sm
111+ }
112+
113+ .input-group.input-group-lg & {
114+ min-height : calc (#{$input-height-lg } - #{$input-height-border } );
115+ padding-top : $input-padding-y-lg ;
116+ padding-bottom : $input-padding-y-lg
117+ }
118+ }
96119 }
97120
98121 // Disabled and read-only styling
You can’t perform that action at this time.
0 commit comments