Merge pull request #512 from dataease/pr@dev@refactor_tree菜单位置飘移优化

refactor: tree菜单位置飘移优化
This commit is contained in:
XiaJunjie2020 2021-08-04 11:58:26 +08:00 committed by GitHub
commit 44845c3a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 10 deletions

View File

@ -228,10 +228,12 @@ export default {
padding:0 8px;
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
.de-filter-tree {
>>>span.is-leaf {

View File

@ -1048,10 +1048,12 @@ export default {
text-overflow: ellipsis;
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
.tree-style {
padding: 10px 15px;

View File

@ -989,10 +989,12 @@ export default {
text-overflow: ellipsis;
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
.dialog-css >>> .el-dialog__body {

View File

@ -647,10 +647,12 @@ export default {
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
</style>

View File

@ -298,10 +298,12 @@ export default {
text-overflow: ellipsis;
}
.father .child {
display: none;
/*display: none;*/
visibility: hidden;
}
.father:hover .child {
display: inline;
/*display: inline;*/
visibility: visible;
}
.tree-style {
padding: 10px 15px;