U 优化样式适应更长的主机名

pull/103/head
vapao 2020-05-23 10:16:45 +08:00
parent dd63077c8b
commit 69a43489c7
3 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class ExecConsole extends React.Component {
return ( return (
<Modal <Modal
visible visible
width={800} width={1000}
title="执行控制台" title="执行控制台"
footer={null} footer={null}
onCancel={this.props.onCancel} onCancel={this.props.onCancel}

View File

@ -61,6 +61,7 @@ class HostSelector extends React.Component {
}, { }, {
title: '主机名称', title: '主机名称',
dataIndex: 'name', dataIndex: 'name',
ellipsis: true
}, { }, {
title: '连结地址', title: '连结地址',
dataIndex: 'hostname', dataIndex: 'hostname',

View File

@ -42,6 +42,7 @@ class TemplateSelector extends React.Component {
}, { }, {
title: '名称', title: '名称',
dataIndex: 'name', dataIndex: 'name',
ellipsis: true
}, { }, {
title: '内容', title: '内容',
dataIndex: 'body', dataIndex: 'body',
@ -64,7 +65,7 @@ class TemplateSelector extends React.Component {
return ( return (
<Modal <Modal
visible visible
width={800} width={1000}
title="选择执行模板" title="选择执行模板"
onCancel={this.props.onCancel} onCancel={this.props.onCancel}
onOk={this.handleSubmit} onOk={this.handleSubmit}