Skip to content

Commit cc3b1f7

Browse files
committed
fix(query-builder): Fix title in indigo, fix spacing between icons.
1 parent 79108fe commit cc3b1f7

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

projects/igniteui-angular/src/lib/core/styles/components/query-builder/_query-builder-component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
@extend %advanced-filter__header !optional;
2525
}
2626

27+
@include e(title) {
28+
@extend %advanced-filter__title !optional;
29+
}
30+
2731
@include e(main) {
2832
@extend %advanced-filter__main !optional;
2933
}

projects/igniteui-angular/src/lib/core/styles/components/query-builder/_query-builder-theme.scss

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,6 @@
171171
}
172172

173173
%advanced-filter__header {
174-
@if $variant != 'indigo' {
175-
@include type-style('h6');
176-
} @else {
177-
@include type-style('h5');
178-
179-
border-top-left-radius: border-radius(rem(10px));
180-
border-top-right-radius: border-radius(rem(10px));
181-
}
182-
183174
@if $variant == 'bootstrap' {
184175
> * {
185176
margin-bottom: rem(0) !important;
@@ -196,6 +187,10 @@
196187
border-block-end: rem(1px) solid var-get($theme, 'header-border');
197188
}
198189

190+
%advanced-filter__title {
191+
@include type-style(if($variant != 'indigo', 'h6', 'h5'));
192+
}
193+
199194
%advanced-filter__main {
200195
display: flex;
201196
overflow: auto;
@@ -287,7 +282,7 @@
287282
display: flex;
288283
align-items: center;
289284
width: 100%;
290-
gap: $gap;
285+
gap: if($variant != 'indigo', $gap, rem(8px));
291286
position: relative;
292287

293288
> igx-chip {
@@ -318,7 +313,7 @@
318313

319314
%filter-tree__expression-actions {
320315
display: inline-flex;
321-
gap: $gap;
316+
gap: if($variant != 'indigo', $gap, rem(8px));
322317

323318
span {
324319
display: inline-flex;

projects/igniteui-angular/src/lib/query-builder/query-builder-header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="igx-query-builder__header">
2-
<div class="ig-typography__h6" style="pointer-events: none;">
2+
<div class="igx-query-builder__title">
33
{{ title || this.resourceStrings.igx_query_builder_title }}
44
<ng-content></ng-content>
55
</div>

0 commit comments

Comments
 (0)