示例样式修改

This commit is contained in:
yangchch6 2019-05-17 10:20:44 +08:00
parent 42fac60c77
commit dc89795be5
9 changed files with 21 additions and 20 deletions

View File

@ -509,15 +509,15 @@ class Demo0505 extends Component {
<div className="toolbar-btns"> <div className="toolbar-btns">
{isEditingAll ? ( {isEditingAll ? (
<React.Fragment> <React.Fragment>
<Button colors="primary" onClick={this.commitChange}>
确认
</Button>
<Button <Button
bordered bordered
onClick={this.abortEdit} onClick={this.abortEdit}
> >
取消 取消
</Button> </Button>
<Button colors="primary" onClick={this.commitChange}>
确认
</Button>
</React.Fragment> </React.Fragment>
) : ( ) : (
<Button colors="secondary" onClick={this.edit}> <Button colors="secondary" onClick={this.edit}>

View File

@ -28,7 +28,7 @@ const columns = [
<Tooltip inverse overlay={text}> <Tooltip inverse overlay={text}>
<span tootip={text} style={{ <span tootip={text} style={{
display: "block", display: "block",
width: "80px", width: "40px",
textOverflow: "ellipsis", textOverflow: "ellipsis",
overflow: "hidden", overflow: "hidden",
whiteSpace: "nowrap", whiteSpace: "nowrap",

View File

@ -32,7 +32,7 @@ const columns = [
<Tooltip inverse overlay={text}> <Tooltip inverse overlay={text}>
<span tootip={text} style={{ <span tootip={text} style={{
display: "block", display: "block",
width: "80px", width: "40px",
textOverflow: "ellipsis", textOverflow: "ellipsis",
overflow: "hidden", overflow: "hidden",
whiteSpace: "nowrap", whiteSpace: "nowrap",

View File

@ -27,7 +27,7 @@ const columns = [
<Tooltip inverse overlay={text}> <Tooltip inverse overlay={text}>
<span tootip={text} style={{ <span tootip={text} style={{
display: "block", display: "block",
width: "80px", width: "40px",
textOverflow: "ellipsis", textOverflow: "ellipsis",
overflow: "hidden", overflow: "hidden",
whiteSpace: "nowrap", whiteSpace: "nowrap",

File diff suppressed because one or more lines are too long

18
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -78,7 +78,8 @@
} }
}, },
"API": { "API": {
"Table": "", "Table props": "",
"Table events": "",
"Column": "", "Column": "",
"高阶函数": { "高阶函数": {
"multiSelect 多选功能": "", "multiSelect 多选功能": "",

View File

@ -89,8 +89,8 @@
"react": "^16.6.3", "react": "^16.6.3",
"react-addons-test-utils": "^15.5.0", "react-addons-test-utils": "^15.5.0",
"react-dom": "^16.6.3", "react-dom": "^16.6.3",
"ref-tree": "2.0.1-beta.1",
"reqwest": "^2.0.5", "reqwest": "^2.0.5",
"tinper-bee": "latest", "tinper-bee": "latest"
"ref-tree": "2.0.1-beta.1"
} }
} }