feat:左侧树超长显示修改
This commit is contained in:
parent
a178134507
commit
00b381ba86
|
@ -1,7 +1,7 @@
|
||||||
import React, {useEffect, useMemo, useState} from 'react';
|
import React, {useEffect, useMemo, useState} from 'react';
|
||||||
import {Input, Tree} from 'antd';
|
import {Input, Tree} from 'antd';
|
||||||
import {FolderOutlined, FileMarkdownOutlined} from '@ant-design/icons';
|
import {FolderOutlined, FileMarkdownOutlined} from '@ant-design/icons';
|
||||||
|
import "./index.less"
|
||||||
const {Search} = Input;
|
const {Search} = Input;
|
||||||
import store from "../../redux/store";
|
import store from "../../redux/store";
|
||||||
import {clickFile} from "../../redux/clickFile_reducer";
|
import {clickFile} from "../../redux/clickFile_reducer";
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
@import '~antd/dist/antd.less';
|
||||||
|
.ant-tree-node-content-wrapper {
|
||||||
|
display: inline-block;
|
||||||
|
width: 176px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue