We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.hide-scrollbar
1 parent 145de7d commit c4e07f2Copy full SHA for c4e07f2
packages/theme/system/utils/_scrollbar.less
@@ -51,3 +51,25 @@
51
.scrollbar-mixin(~'.@{ant-prefix}-table-header, .@{ant-prefix}-table-body');
52
}
53
.scrollbar-table-mixin(@scrollbar-table-enabled);
54
+
55
+/**
56
+ * Hide scrollbar
57
+ *
58
+ * 隐藏滚动条
59
+ */
60
+.hide-scrollbar {
61
+ scrollbar-width: none;
62
+ scrollbar-color: transparent transparent;
63
64
+ &::-webkit-scrollbar {
65
+ width: 1px;
66
+ }
67
68
+ &::-webkit-scrollbar-track {
69
+ background: transparent;
70
71
72
+ &::-webkit-scrollbar-thumb {
73
+ background-color: transparent;
74
75
+}
0 commit comments