Skip to content

Commit

Permalink
fix(datagrid): sort icon placement
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 committed Oct 13, 2023
1 parent 1dcc359 commit a4fa7b3
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,34 @@ $ods-border-datagrid: solid 1px var(--ods-color-blue-200);
}
}

&[aria-sort="descending"] {
.tabulator-col-content {

.tabulator-col-title-holder {

.tabulator-col-sorter {
top: 2px;
}
}
}
}
&[aria-sort="ascending"], &[aria-sort="none"] {
.tabulator-col-content {

.tabulator-col-title-holder {

.tabulator-col-sorter {
top: -7px;
}
}
}
}

.tabulator-col-content {

.tabulator-col-title-holder {
display: flex;
justify-content: center;
align-items: baseline;

.tabulator-col-title {
width: unset;
Expand Down

0 comments on commit a4fa7b3

Please sign in to comment.