Commit df63ace5 authored by “yiyousong”'s avatar “yiyousong”

perf: 修复表格滚动条错位

parent 5e077784
...@@ -316,6 +316,18 @@ img { ...@@ -316,6 +316,18 @@ img {
background-color: rgba(5, 149, 253, 1); background-color: rgba(5, 149, 253, 1);
} }
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
overflow: hidden !important;
margin-bottom: 0 !important;
padding-right: 6px;
tr:only-child > th:last-child {
border-right-color: #f0f0f0 !important;
}
}
.ant-table-placeholder {
width: calc(100% - 6px);
}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px; height: 6px;
......
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
v-model="BegindAndEndTime" v-model="BegindAndEndTime"
> >
</a-range-picker> </a-range-picker>
<a-button type="primary" class="addclass" @click="handleSearch">搜索</a-button> <a-button type="primary" class="addclass" @click="handleSearch"
>搜索</a-button
>
<a-button @click="resetSearch">重置</a-button> <a-button @click="resetSearch">重置</a-button>
</a-space> </a-space>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
} }
} }
html{ html {
font-size: var(--base-font-size); font-size: var(--base-font-size);
} }
...@@ -25,8 +25,8 @@ html{ ...@@ -25,8 +25,8 @@ html{
.effect-box { .effect-box {
position: sticky; position: sticky;
top: 0; top: 0;
/* height: 100vh; */ height: 100vh;
min-height: 930rem; /* min-height: 930rem; */
background-color: #031233; background-color: #031233;
perspective: 800px; perspective: 800px;
overflow: hidden; overflow: hidden;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment