NEZ-3465 fix: project topology tooltip弹窗遮挡

This commit is contained in:
zyh
2024-05-07 18:28:49 +08:00
parent a6a6fce7d1
commit 12047200d4
3 changed files with 5 additions and 3 deletions

View File

@@ -20,9 +20,11 @@
height: calc(100% - 78px); height: calc(100% - 78px);
} }
.meta2d-project{ .meta2d-project{
box-sizing: border-box;
height: calc(100% - 78px); height: calc(100% - 78px);
border: 1px solid; border: 1px solid;
border-color: $--border-color-light !important; border-color: $--border-color-light !important;
overflow: hidden;
} }
.meta2d-chart { .meta2d-chart {
//border: 1px solid; //border: 1px solid;

View File

@@ -3,7 +3,8 @@
width: 100%; width: 100%;
display: flex; display: flex;
background-color: $--background-color-empty; background-color: $--background-color-empty;
overflow-x: auto; // overflow-x: auto;
overflow-x: hidden;
.project-table { .project-table {
//width: calc(100% - 10px) !important; //width: calc(100% - 10px) !important;
} }
@@ -20,7 +21,7 @@
width: calc(50% - 10px); width: calc(50% - 10px);
margin-right: 10px; margin-right: 10px;
min-width: 435px; min-width: 435px;
overflow: hidden; // overflow: hidden;
//div.page { //div.page {
// textarea { // textarea {
// display: none; // display: none;

View File

@@ -557,7 +557,6 @@ export default {
const moment1 = moment((minTime * 1000 - localOffset + offset * 60 * 1000)) const moment1 = moment((minTime * 1000 - localOffset + offset * 60 * 1000))
const moment2 = moment((maxTime * 1000 - localOffset + offset * 60 * 1000)) const moment2 = moment((maxTime * 1000 - localOffset + offset * 60 * 1000))
console.log(minTime, maxTime)
const isSameDay = moment1.isSame(moment2, 'day') const isSameDay = moment1.isSame(moment2, 'day')
const isSameMonth = moment1.isSame(moment2, 'month') const isSameMonth = moment1.isSame(moment2, 'month')