Skip to content

Commit

Permalink
chore: merge branch 'master' into feat-theme-menu-add-last-find
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 17, 2024
2 parents b2a192c + c4e07f2 commit 61a3d42
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/theme/system/utils/_scrollbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,25 @@
.scrollbar-mixin(~'.@{ant-prefix}-table-header, .@{ant-prefix}-table-body');
}
.scrollbar-table-mixin(@scrollbar-table-enabled);

/**
* Hide scrollbar
*
* 隐藏滚动条
*/
.hide-scrollbar {
scrollbar-width: none;
scrollbar-color: transparent transparent;

&::-webkit-scrollbar {
width: 1px;
}

&::-webkit-scrollbar-track {
background: transparent;
}

&::-webkit-scrollbar-thumb {
background-color: transparent;
}
}

0 comments on commit 61a3d42

Please sign in to comment.