Skip to content

Commit

Permalink
Update filter column chooser item style
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z authored and joshwooding committed Jul 22, 2024
1 parent afa89c5 commit 261571c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changeset/large-carrots-end.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Fixed Country Symbol taller than expected in HD compact. This alters `--salt-size-base` token so Salt Button, form controls (Input, Dropdown, Combo Box) will be impacted as well. Closes #3775.
- Fixed group value not center aligned vertically.
- Updated ag grid menu styling to match closer to Salt Menu component.
- Updated floating filter column chooser item styles. Closes #3671.

Note: We previously made a mistake on `rowHeight` recommendation when configurating AG Grid, which should be 1px more to account for border between row.
`useAgGridHelpers` example hook is updated to reflect this.
Expand Down
11 changes: 11 additions & 0 deletions packages/ag-grid-theme/css/salt-ag-grid-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,17 @@ div[class*="ag-theme-salt"] .ag-cell-label-container {
padding: var(--salt-spacing-50) 0;
}

div[class*="ag-theme-salt"] .ag-list-item:hover,
div[class*="ag-theme-salt"] .ag-virtual-list-item:hover {
background-color: var(--salt-selectable-background-hover);
cursor: pointer;
}

div[class*="ag-theme-salt"] .ag-label-align-right .ag-label {
margin-inline-start: var(--salt-spacing-100);
margin-inline-end: 0;
}

/* MENU */

div[class*="ag-theme-salt"] .ag-menu {
Expand Down

0 comments on commit 261571c

Please sign in to comment.