提交 ba1d20b0 authored 作者: junjie's avatar junjie

refactor: tree菜单位置飘移优化

上级 dcf5354a
...@@ -1045,10 +1045,12 @@ export default { ...@@ -1045,10 +1045,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.tree-style { .tree-style {
padding: 10px 15px; padding: 10px 15px;
......
...@@ -989,10 +989,12 @@ export default { ...@@ -989,10 +989,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.dialog-css >>> .el-dialog__body { .dialog-css >>> .el-dialog__body {
......
...@@ -647,10 +647,12 @@ export default { ...@@ -647,10 +647,12 @@ export default {
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
</style> </style>
...@@ -298,10 +298,12 @@ export default { ...@@ -298,10 +298,12 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.father .child { .father .child {
display: none; /*display: none;*/
visibility: hidden;
} }
.father:hover .child { .father:hover .child {
display: inline; /*display: inline;*/
visibility: visible;
} }
.tree-style { .tree-style {
padding: 10px 15px; padding: 10px 15px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论