Skip to content

Commit c061944

Browse files
adrianptrvLipata
andauthored
fix(input-group): prefix & suffix bootrstrap borders (#16150)
Co-authored-by: Nikolay Alipiev <[email protected]>
1 parent 1f3aa2d commit c061944

File tree

3 files changed

+18
-30
lines changed

3 files changed

+18
-30
lines changed

projects/igniteui-angular/src/lib/core/styles/components/combo/_combo-theme.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -222,20 +222,6 @@
222222
}
223223

224224
@if $variant == 'bootstrap' {
225-
.igx-input-group--disabled {
226-
%igx-combo__toggle-button {
227-
border-inline-start-width: rem(1px);
228-
border-inline-start-style: solid;
229-
border-inline-start-color: inherit;
230-
}
231-
}
232-
233-
igx-suffix:not(.igx-combo__clear-button) + %igx-combo__toggle-button {
234-
border-inline-start-width: rem(1px);
235-
border-inline-start-style: solid;
236-
border-inline-start-color: inherit;
237-
}
238-
239225
.igx-input-group__bundle::after {
240226
height: rem(1px) !important;
241227
}

projects/igniteui-angular/src/lib/core/styles/components/input/_input-group-theme.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,24 @@
22482248
min-height: 0;
22492249
height: calc(100% - #{rem(8px)});
22502250
}
2251+
}
2252+
2253+
%form-group-prefix--disabled-bootstrap:not(:first-child) {
2254+
border-inline-start-color: var-get($theme, 'disabled-border-color');
2255+
}
2256+
2257+
%form-group-suffix--disabled-bootstrap:not(:last-child) {
2258+
border-inline-end-color: var-get($theme, 'disabled-border-color');
2259+
}
2260+
2261+
@if $variant == 'bootstrap' {
2262+
%form-group-prefix:not(:first-child) {
2263+
border-inline-start: rem(1px) solid var-get($theme, 'border-color');
2264+
}
2265+
2266+
%form-group-suffix:not(:last-child) {
2267+
border-inline-end: rem(1px) solid var-get($theme, 'border-color');
2268+
}
22512269
}
22522270
}
22532271

projects/igniteui-angular/src/lib/core/styles/components/select/_select-theme.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,6 @@
7878
display: block;
7979
}
8080

81-
@if $variant == 'bootstrap' {
82-
.igx-input-group--disabled {
83-
%igx-select__toggle-button {
84-
border-inline-start-width: rem(1px);
85-
border-inline-start-style: solid;
86-
border-inline-start-color: inherit;
87-
}
88-
}
89-
90-
igx-suffix + %igx-select__toggle-button {
91-
border-inline-start-width: rem(1px);
92-
border-inline-start-style: solid;
93-
border-inline-start-color: inherit;
94-
}
95-
}
96-
9781
.igx-input-group {
9882
%igx-select__toggle-button {
9983
background: var-get($theme, 'toggle-button-background');

0 commit comments

Comments
 (0)