fix(数据源): 点击目录隐藏设置,随后上下滚动,当目录即将超出显示视窗弹窗发生偏移,偏移至左上角
This commit is contained in:
@@ -1007,17 +1007,22 @@ defineExpose({
|
||||
align-items: center;
|
||||
box-sizing: content-box;
|
||||
padding-right: 4px;
|
||||
position: relative;
|
||||
|
||||
.label-tooltip {
|
||||
width: 100%;
|
||||
width: calc(100% - 40px);
|
||||
margin-left: 8.75px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: 18px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.icon-more {
|
||||
margin-left: auto;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -1026,7 +1031,7 @@ defineExpose({
|
||||
}
|
||||
|
||||
.icon-more {
|
||||
display: inline-flex;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1450,13 +1450,17 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
|
||||
padding-right: 4px;
|
||||
|
||||
.label-tooltip {
|
||||
width: 100%;
|
||||
width: calc(100% - 40px);
|
||||
margin-left: 8.75px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: 18px;
|
||||
}
|
||||
|
||||
.icon-more {
|
||||
margin-left: auto;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -1465,7 +1469,7 @@ const proxyAllowDrop = throttle((arg1, arg2) => {
|
||||
}
|
||||
|
||||
.icon-more {
|
||||
display: inline-flex;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2442,13 +2442,17 @@ const getMenuList = (val: boolean, data?: any) => {
|
||||
padding-right: 4px;
|
||||
|
||||
.label-tooltip {
|
||||
width: 100%;
|
||||
width: calc(100% - 40px);
|
||||
margin-left: 8.75px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: 18px;
|
||||
}
|
||||
|
||||
.icon-more {
|
||||
margin-left: auto;
|
||||
display: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@@ -2461,7 +2465,7 @@ const getMenuList = (val: boolean, data?: any) => {
|
||||
}
|
||||
|
||||
.icon-more {
|
||||
display: inline-flex;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user