fix:(tusimple/theme): data-table sorter color (#380)

* fix(form): label-align not work

* fix(form): label align when placement is top,align is right

* fix(form): naming problem

* changelog: update pending fix

* fix(form): label-align in cssvar

* fix(tusimple-theme): sorter color

* chore: update tusimple-theme readme

Co-authored-by: tusimple <jiwen.bai@tusimple.ai>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: Jiwen Bai <56228105@qq.com>
This commit is contained in:
Mr.Bai 2021-07-05 14:27:27 +08:00 committed by GitHub
parent 6262b6fdf8
commit 7081840d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -6,3 +6,4 @@
| ------------------------ | -------- |
| 0.1.8 | 2.7.3 |
| 0.1.9 | 2.10.0 |
| 0.1.10 | 2.15.2 |

View File

@ -27,13 +27,13 @@ export const renderSorter: DataTableRenderSorter = ({ order }) => {
style: {
...chevronStyle,
marginTop: '-4px',
fill: order === 'ascend' ? colors.successColor : GRAY_COLOR_4
color: order === 'ascend' ? colors.successColor : GRAY_COLOR_4
}
}),
h(CaretDownOutline, {
style: {
...chevronStyle,
fill: order === 'descend' ? colors.successColor : GRAY_COLOR_4
color: order === 'descend' ? colors.successColor : GRAY_COLOR_4
}
})
]