-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9d9e96
commit 3f8b5d5
Showing
7 changed files
with
240 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// 添加到 table 的 classname | ||
export const BASIC_TABLE_ROOT_CLASS_NAME = "basic-table"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { createUseStyles } from "react-jss"; | ||
|
||
export const useStyles = createUseStyles(({ prefixCls, isDark }) => { | ||
return { | ||
basicTable: { | ||
[`& .${prefixCls}-table`]: { | ||
[`& .${prefixCls}-table-container`]: { | ||
[`& .${prefixCls}-table-content, & .${prefixCls}-table-body`]: { | ||
"scrollbar-width": "thin", | ||
"scrollbar-color": isDark ? "#909399 transparent" : "#eaeaea transparent", | ||
"scrollbar-gutter": "stable", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.