From ace8f9e302b05b3226d1910290784096092dacc1 Mon Sep 17 00:00:00 2001 From: AhJindeg Date: Mon, 24 Apr 2023 11:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(styles/index):=20Update=20.e?= =?UTF-8?q?l-scrollbar=5F=5Fbar=20style?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 解决表格内容超过表格总宽度后,横向滚动条前端顶不到表格边缘的问题 --- src/styles/index.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/styles/index.scss b/src/styles/index.scss index 2781c12e..33d29123 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -10,6 +10,12 @@ width: 100% !important; } +// 解决表格内容超过表格总宽度后,横向滚动条前端顶不到表格边缘的问题 +.el-scrollbar__bar { + display: flex; + justify-content: flex-start; +} + /* nprogress 适配 element-plus 的主题色 */ #nprogress { & .bar {