Skip to content

Commit

Permalink
Merge pull request #436 from dcos-labs/brandonc/sort_arrow_direction
Browse files Browse the repository at this point in the history
fix: arrow direction / asc & desc
  • Loading branch information
mperrotti authored Nov 22, 2019
2 parents 477eacf + 26d923b commit bf5fbb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/table/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ export const styleArrowDirection = displaySortDirection => {
case "DESC":
return css`
&:after {
${pseudoElTriangle("bottom", pointerSize, "currentColor")};
${pseudoElTriangle("top", pointerSize, "currentColor")};
}
`;
case "ASC":
return css`
&:after {
${pseudoElTriangle("top", pointerSize, "currentColor")};
${pseudoElTriangle("bottom", pointerSize, "currentColor")};
}
`;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ exports[`SortableHeaderCell renders default 1`] = `
content: "";
height: 0;
width: 0;
border-bottom: 4px solid currentColor;
border-top: 4px solid currentColor;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: none;
border-bottom: none;
}
<Clickable
Expand Down

0 comments on commit bf5fbb3

Please sign in to comment.