Skip to content

Commit

Permalink
🎨 Fluent: Insert group header indicator (#25598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raushen authored Sep 15, 2023
1 parent 2c7122f commit 82afa9b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class BlockSeparatorView extends SeparatorView {
if ($element && !that._isShown) {
switch (targetLocation) {
case 'group':
startAnimate({ width: '50px', display: 'inline-block' });
this.element().css('display', 'block');
break;
case 'columnChooser':
startAnimate({ width: '100%', display: 'block' });
Expand Down
5 changes: 1 addition & 4 deletions packages/devextreme/scss/widgets/base/dataGrid/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@
}

.dx-block-separator {
@include dx-group-panel-item();

color: transparent;
position: relative;
min-width: 0;
border-radius: 3px;
}
}

Expand Down
3 changes: 1 addition & 2 deletions packages/devextreme/scss/widgets/fluent/dataGrid/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
margin-right: $fluent-grid-base-grouppanel-item-margin;
color: $datagrid-columnchooser-item-color;
font-weight: $datagrid-columnchooser-font-weight;
padding: $fluent-datagrid-cell-padding;
background-color: $datagrid-block-separator-bg;
background-color: $base-accent;
}

.dx-sort {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
margin-right: $generic-grid-base-grouppanel-item-margin;
color: $datagrid-columnchooser-item-color;
font-weight: $datagrid-columnchooser-font-weight;
padding: $generic-datagrid-cell-padding + 1;
background-color: $datagrid-block-separator-bg;
background-color: $base-accent;
}

.dx-sort {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
margin-right: $material-grid-base-grouppanel-item-margin;
color: $datagrid-columnchooser-item-color;
font-weight: $datagrid-columnchooser-font-weight;
padding: $material-datagrid-cell-padding;
background-color: $datagrid-block-separator-bg;
background-color: $base-accent;
}

.dx-sort {
Expand Down

0 comments on commit 82afa9b

Please sign in to comment.