mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复环境变量tooltip
This commit is contained in:
parent
b1d55422ac
commit
c1a3ac6e4d
|
@ -88,6 +88,7 @@ input:-webkit-autofill:active {
|
||||||
height: calc(100vh - var(--vh-offset, 0px) - 144px);
|
height: calc(100vh - var(--vh-offset, 0px) - 144px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ql-container-wrapper {
|
.ql-container-wrapper {
|
||||||
&.crontab-wrapper,
|
&.crontab-wrapper,
|
||||||
&.log-wrapper {
|
&.log-wrapper {
|
||||||
|
@ -108,4 +109,8 @@ input:-webkit-autofill:active {
|
||||||
height: calc(100vh - var(--vh-offset, 0px) - 176px);
|
height: calc(100vh - var(--vh-offset, 0px) - 176px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-tooltip {
|
||||||
|
max-width: 250px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
4
src/pages/env/index.tsx
vendored
4
src/pages/env/index.tsx
vendored
|
@ -123,7 +123,7 @@ const Env = () => {
|
||||||
dataIndex: 'value',
|
dataIndex: 'value',
|
||||||
key: 'value',
|
key: 'value',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
width: '45%',
|
width: '40%',
|
||||||
ellipsis: {
|
ellipsis: {
|
||||||
showTitle: false,
|
showTitle: false,
|
||||||
},
|
},
|
||||||
|
@ -164,7 +164,7 @@ const Env = () => {
|
||||||
render: (text: string, record: any, index: number) => {
|
render: (text: string, record: any, index: number) => {
|
||||||
const isPc = width === '100%';
|
const isPc = width === '100%';
|
||||||
return (
|
return (
|
||||||
<Space size="middle">
|
<Space size="middle" style={{ paddingLeft: 8 }}>
|
||||||
<Tooltip title={isPc ? '编辑' : ''}>
|
<Tooltip title={isPc ? '编辑' : ''}>
|
||||||
<a onClick={() => editEnv(record, index)}>
|
<a onClick={() => editEnv(record, index)}>
|
||||||
<EditOutlined />
|
<EditOutlined />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user