@hsu-react/ui 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
margin: 0px;
|
|
5
5
|
padding-block: 0px;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// 横向裁切用 clip 而不是 hidden:把手(36px 命中区)比轨道(32px)高 4px,靠
|
|
8
|
+
// overflow-y: visible 露出上下那点溢出。但按 CSS Overflow L3,visible 一旦与
|
|
9
|
+
// 「既非 visible 也非 clip」的值同时出现,就会被计算成 auto——写 hidden 时
|
|
10
|
+
// overflow-y 实际变成 auto,溢出的 4px 成了一条真能滚的区域:滚轮停在滑块上
|
|
11
|
+
// 滚的是它自己,把手还会跟着上下错位。
|
|
12
|
+
// clip 同样裁掉横向溢出,但不创建滚动容器,也不会把另一轴的 visible 拽下水。
|
|
13
|
+
overflow-x: clip;
|
|
8
14
|
overflow-y: visible;
|
|
9
15
|
|
|
10
16
|
:global(.ant-slider-step),
|
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
margin: 0px;
|
|
5
5
|
padding-block: 0px;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// 横向裁切用 clip 而不是 hidden:把手(36px 命中区)比轨道(32px)高 4px,靠
|
|
8
|
+
// overflow-y: visible 露出上下那点溢出。但按 CSS Overflow L3,visible 一旦与
|
|
9
|
+
// 「既非 visible 也非 clip」的值同时出现,就会被计算成 auto——写 hidden 时
|
|
10
|
+
// overflow-y 实际变成 auto,溢出的 4px 成了一条真能滚的区域:滚轮停在滑块上
|
|
11
|
+
// 滚的是它自己,把手还会跟着上下错位。
|
|
12
|
+
// clip 同样裁掉横向溢出,但不创建滚动容器,也不会把另一轴的 visible 拽下水。
|
|
13
|
+
overflow-x: clip;
|
|
8
14
|
overflow-y: visible;
|
|
9
15
|
|
|
10
16
|
:global(.ant-slider-step),
|
package/package.json
CHANGED
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
margin: 0px;
|
|
5
5
|
padding-block: 0px;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// 横向裁切用 clip 而不是 hidden:把手(36px 命中区)比轨道(32px)高 4px,靠
|
|
8
|
+
// overflow-y: visible 露出上下那点溢出。但按 CSS Overflow L3,visible 一旦与
|
|
9
|
+
// 「既非 visible 也非 clip」的值同时出现,就会被计算成 auto——写 hidden 时
|
|
10
|
+
// overflow-y 实际变成 auto,溢出的 4px 成了一条真能滚的区域:滚轮停在滑块上
|
|
11
|
+
// 滚的是它自己,把手还会跟着上下错位。
|
|
12
|
+
// clip 同样裁掉横向溢出,但不创建滚动容器,也不会把另一轴的 visible 拽下水。
|
|
13
|
+
overflow-x: clip;
|
|
8
14
|
overflow-y: visible;
|
|
9
15
|
|
|
10
16
|
:global(.ant-slider-step),
|