Skip to content

Commit 17309ed

Browse files
committed
fix(input): add border radius to bundle so the background doesn't overflow
1 parent 0c4a2b7 commit 17309ed

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -754,12 +754,6 @@
754754
@include mx(fluent, search, focused) {
755755
@extend %igx-input-group-fluent-search--focused !optional;
756756
}
757-
758-
@include mx(fluent, search, disabled) {
759-
@include e(bundle) {
760-
@extend %form-group-bundle-search--disabled !optional;
761-
}
762-
}
763757
// FLUENT END
764758

765759
// ============================== //

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@
692692
%bootstrap-file-warning,
693693
%bootstrap-file-invalid {
694694
%form-group-bundle {
695-
border-radius: var-get($theme, 'box-border-radius');
695+
border-radius: var-get($theme, 'border-border-radius');
696696
transition: box-shadow .15s ease-out, border .15s ease-out;
697697

698698
&:hover {
@@ -805,7 +805,7 @@
805805

806806
.igx-input-group--bootstrap:not(.igx-input-group--prefixed) {
807807
.igx-input-group__upload-button {
808-
border-radius: var-get($theme, 'box-border-radius') 0 0 var-get($theme, 'box-border-radius');
808+
border-radius: var-get($theme, 'border-border-radius') 0 0 var-get($theme, 'border-border-radius');
809809
}
810810

811811
.igx-input-group__file-input {
@@ -1037,9 +1037,9 @@
10371037
%form-group-bundle--search {
10381038
background: var-get($theme, 'search-background');
10391039
box-shadow: var-get($theme, 'search-resting-shadow');
1040+
border-radius: var-get($theme, 'search-border-radius');
10401041

10411042
@if $variant != 'bootstrap' {
1042-
border-radius: var-get($theme, 'search-border-radius');
10431043
overflow: hidden;
10441044
}
10451045

@@ -2065,11 +2065,11 @@
20652065
}
20662066

20672067
%fluent-label-success {
2068-
color: var-get($theme, 'idle-text-color');
2068+
color: var-get($theme, 'idle-secondary-color');
20692069
}
20702070

20712071
%fluent-label-error {
2072-
color: var-get($theme, 'idle-text-color');
2072+
color: var-get($theme, 'idle-secondary-color');
20732073
}
20742074

20752075
%fluent-label-disabled {
@@ -2228,10 +2228,10 @@
22282228
end-width: rem(1px);
22292229
};
22302230
start: {
2231-
start-radius: var-get($theme, 'box-border-radius');
2231+
start-radius: var-get($theme, 'border-border-radius');
22322232
};
22332233
end: {
2234-
start-radius: var-get($theme, 'box-border-radius');
2234+
start-radius: var-get($theme, 'border-border-radius');
22352235
};
22362236
}
22372237
}
@@ -2248,10 +2248,10 @@
22482248
end-width: rem(1px);
22492249
};
22502250
start: {
2251-
end-radius: var-get($theme, 'box-border-radius');
2251+
end-radius: var-get($theme, 'border-border-radius');
22522252
};
22532253
end: {
2254-
end-radius: var-get($theme, 'box-border-radius');
2254+
end-radius: var-get($theme, 'border-border-radius');
22552255
};
22562256
}
22572257
}
@@ -2318,7 +2318,7 @@
23182318
map.get($bootstrap-inline-padding, 'cosy'),
23192319
map.get($bootstrap-inline-padding, 'comfortable')
23202320
);
2321-
border-radius: var-get($theme, 'box-border-radius');
2321+
border-radius: var-get($theme, 'border-border-radius');
23222322

23232323
}
23242324

0 commit comments

Comments
 (0)