mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +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);
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
|
4
src/pages/env/index.tsx
vendored
4
src/pages/env/index.tsx
vendored
|
@ -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 />
|
||||
|
|
Loading…
Reference in New Issue
Block a user