forked from github/dataease
fix(视图-提示): 修复提示框被遮挡
This commit is contained in:
parent
6280514d0b
commit
ba27d96b32
@ -345,6 +345,9 @@ export default {
|
|||||||
.component {
|
.component {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
.component-outer {
|
||||||
|
transform: translate(0);
|
||||||
|
}
|
||||||
.component-outer:hover {
|
.component-outer:hover {
|
||||||
box-shadow: 0px 0px 3px #0a7be0;
|
box-shadow: 0px 0px 3px #0a7be0;
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
<div
|
<div
|
||||||
:id="chartId"
|
:id="chartId"
|
||||||
style="width: 100%;overflow: hidden;"
|
style="width: 100%;overflow: hidden;"
|
||||||
|
class="g2-container"
|
||||||
:style="{height:chartHeight}"
|
:style="{height:chartHeight}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -437,3 +438,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.g2-container {
|
||||||
|
::v-deep .g2-tooltip {
|
||||||
|
position: fixed !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user