From a2f0d6dc30277e29778ce94a029ff1036659a49e Mon Sep 17 00:00:00 2001 From: luchunyu Date: Tue, 22 Jan 2019 14:17:59 +0800 Subject: [PATCH] fix(table): update table scrollbar style --- src/components/table/index.css | 46 ++-------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/src/components/table/index.css b/src/components/table/index.css index 64e648f6..3b1c7023 100644 --- a/src/components/table/index.css +++ b/src/components/table/index.css @@ -51,18 +51,11 @@ } .c-scroll__thead { - -ms-overflow-style: none; - overflow-x: auto; - -ms-scroll-chaining: none; - overscroll-behavior: none; + overflow-x: hidden; & table { table-layout: fixed; } - - &::-webkit-scrollbar { - display: none; - } } .c-table__body table { @@ -75,22 +68,6 @@ .c-scroll__tbody, .c-scrolltable { overflow-x: auto; - -ms-scroll-chaining: none; - overscroll-behavior: none; - - &::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - &::-webkit-scrollbar-thumb { - background: #ced3d9; - border-radius: 30px; - } - - &::-webkit-scrollbar-track { - background: #eaeced; - } & table { table-layout: fixed; @@ -200,22 +177,6 @@ .c-table__body { overflow-y: auto; - -ms-scroll-chaining: none; - overscroll-behavior: none; - - &::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - &::-webkit-scrollbar-thumb { - background: #ced3d9; - border-radius: 30px; - } - - &::-webkit-scrollbar-track { - background: #eaeced; - } } .c-table__all.c-table { @@ -340,10 +301,7 @@ & .c-table__body { border-bottom: 0; -ms-overflow-style: none; - - &::-webkit-scrollbar { - display: none; - } + overflow: hidden; } }