From c2f3e1795ebb995fb8af6d58aaec4b087429f4c8 Mon Sep 17 00:00:00 2001 From: hisoka0728 <1399952343@qq.com> Date: Wed, 26 Jun 2024 21:11:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A8=E6=A0=BC=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E6=A0=B7=E5=BC=8F=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/control/grid/grid/grid.scss | 3 +++ src/control/grid/grid/grid.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/src/control/grid/grid/grid.scss b/src/control/grid/grid/grid.scss index 7b934ea5c..2777e67d7 100644 --- a/src/control/grid/grid/grid.scss +++ b/src/control/grid/grid/grid.scss @@ -290,6 +290,9 @@ font-weight: getCssVar(font-weight, bold), } } + .el-scrollbar__bar.is-horizontal{ + height: 20px; + } } @include e(load-more-button) { diff --git a/src/control/grid/grid/grid.tsx b/src/control/grid/grid/grid.tsx index 43b3637d4..e59ed016b 100644 --- a/src/control/grid/grid/grid.tsx +++ b/src/control/grid/grid/grid.tsx @@ -416,6 +416,7 @@ export const GridControl = defineComponent({ onSelectionChange={this.onSelectionChange} onSortChange={this.onSortChange} tooltip-effect={'light'} + scrollbar-always-on={true} > {{ empty: this.renderNoData, -- Gitee