Skip to content

Commit

Permalink
Merge pull request #17065 from ant-design/fix-table-scrollbar-border
Browse files Browse the repository at this point in the history
style: adjust bordered table header scrollbar style
  • Loading branch information
afc163 committed Jun 12, 2019
2 parents 798d050 + 52905e1 commit 1f6b86f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/table/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,16 @@
opacity: 0.9999;

&::-webkit-scrollbar {
border-bottom: 1px solid @border-color-split;
border: 1px solid @border-color-split;
border-width: 0 0 1px 0;
}
}

&-bordered&-fixed-header &-scroll &-header::-webkit-scrollbar {
border: 1px solid @border-color-split;
border-width: 1px 1px 0 0;
}

&-hide-scrollbar {
// https://github.com/ant-design/ant-design/issues/4637
// https://stackoverflow.com/a/54101063
Expand Down

0 comments on commit 1f6b86f

Please sign in to comment.