Skip to content

Commit

Permalink
Improve visibility of column sort state adjust sliders
Browse files Browse the repository at this point in the history
Highlight the ascending/descending arrow to improve the visibility of
the column's current sort state.  Slightly reduce the size of the
slider handles.

Closes #97, closes #98
  • Loading branch information
brianlove authored and jmelot committed Sep 26, 2023
1 parent 5d49f57 commit 00fe564
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/gui-v2/src/components/HeaderSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { Slider } from '@mui/material';

import { debounce } from '../util';

// import { LabelStyled } from '@eto/eto-ui-components';

const styles = {
wrapper: css`
display: flex;
Expand All @@ -16,6 +14,11 @@ const styles = {
slider: css`
margin: 0 6px;
width: calc(100% - 12px);
.MuiSlider-thumb {
height: 10px;
width: 10px;
}
`,
};

Expand Down
7 changes: 7 additions & 0 deletions web/gui-v2/src/components/ListViewTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ const styles = {
width: 100%;
}
}
svg.MuiSvgIcon-root.MuiTableSortLabel-icon {
background-color: var(--bright-blue);
color: white;
padding: 2px;
margin-left: 1rem;
}
`,
shortDropdown: css`
.MuiPaper-root {
Expand Down

0 comments on commit 00fe564

Please sign in to comment.