Skip to content

Commit

Permalink
fix(Table): disorder with mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Jan 7, 2020
1 parent b5adf54 commit 14dce9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/table/fixed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function fixed(BaseComponent) {
if (+scrollBarSize) {
style.marginBottom = -scrollBarSize;
if (hasHozScroll) {
style.paddingBottom = 0;
style.paddingBottom = scrollBarSize;
} else {
style.paddingBottom = scrollBarSize;
style[marginName] = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/table/lock.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export default function lock(BaseComponent) {

if (+scrollBarSize) {
style.marginBottom = -scrollBarSize;
style.paddingBottom = 0;
style.paddingBottom = scrollBarSize;
} else {
style.marginBottom = -20;
style.paddingBottom = 20;
Expand Down

0 comments on commit 14dce9d

Please sign in to comment.