Skip to content

Commit 8bf0812

Browse files
committed
fix: fix data view scroll
1 parent 880a698 commit 8bf0812

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

frontend/src/components/Main/Explore/DataView/DataView.vue

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
<template>
2-
<div id="doc" v-loading="state.loading" class="data-view" @contextmenu.prevent="preventDefaultContextMenu">
3-
<RightMenu ref="rightMenu" :menus="menus" />
4-
<ExportDataDialog :visible.sync="exportDataDialogVisible" @submit="onExportSubmit" />
5-
<Toolbar :items="iToolBarItems" />
2+
<div
3+
id="doc"
4+
v-loading="state.loading"
5+
class="data-view"
6+
@contextmenu.prevent="preventDefaultContextMenu"
7+
style="z-index: 99;position: relative"
8+
>
9+
<RightMenu ref="rightMenu" :menus="menus"/>
10+
<ExportDataDialog :visible.sync="exportDataDialogVisible" @submit="onExportSubmit"/>
11+
<Toolbar :items="iToolBarItems"/>
612
<AgGridVue
713
:rowData="rowData"
814
:columnDefs="colDefs"

frontend/src/styles/index.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ body {
2727
.splitter-pane-resizer {
2828
opacity: 1;
2929
background-color: $framework-border-color;
30+
z-index: 1 !important;
3031
}
3132

3233
.icon-chen-first_page,
@@ -138,7 +139,7 @@ body {
138139
border-right: none;
139140
}
140141

141-
& > .el-cascader-menu__wrap {
142+
& > .el-cascader-menu__wrap {
142143
height: initial !important;
143144
}
144145

@@ -453,6 +454,7 @@ body {
453454

454455
& > .relative {
455456
font-weight: 600;
457+
456458
& > .colHeader.columnSorting.ascending::before,
457459
& > .colHeader.columnSorting.descending::before {
458460
filter: invert(35%) sepia(67%) saturate(1363%) hue-rotate(197deg) brightness(85%) contrast(92%);
@@ -505,6 +507,7 @@ body {
505507
.text-danger {
506508
color: #FF0000;
507509
}
510+
508511
.text-warning {
509512
color: #FFFF00
510513
}

0 commit comments

Comments
 (0)