修复环境变量tooltip

This commit is contained in:
hanhh 2021-07-03 18:38:02 +08:00
parent b1d55422ac
commit c1a3ac6e4d
2 changed files with 7 additions and 2 deletions

View File

@ -88,6 +88,7 @@ input:-webkit-autofill:active {
height: calc(100vh - var(--vh-offset, 0px) - 144px);
}
}
.ql-container-wrapper {
&.crontab-wrapper,
&.log-wrapper {
@ -108,4 +109,8 @@ input:-webkit-autofill:active {
height: calc(100vh - var(--vh-offset, 0px) - 176px);
}
}
.ant-tooltip {
max-width: 250px !important;
}
}

View File

@ -123,7 +123,7 @@ const Env = () => {
dataIndex: 'value',
key: 'value',
align: 'center' as const,
width: '45%',
width: '40%',
ellipsis: {
showTitle: false,
},
@ -164,7 +164,7 @@ const Env = () => {
render: (text: string, record: any, index: number) => {
const isPc = width === '100%';
return (
<Space size="middle">
<Space size="middle" style={{ paddingLeft: 8 }}>
<Tooltip title={isPc ? '编辑' : ''}>
<a onClick={() => editEnv(record, index)}>
<EditOutlined />