Skip to content

Commit 4b9fe82

Browse files
committed
style: less typo
1 parent 32ffd6b commit 4b9fe82

File tree

14 files changed

+43
-32
lines changed

14 files changed

+43
-32
lines changed

components/badge/style/ribbon.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
top: 100%;
3131
width: 8px;
3232
height: 8px;
33-
color: currentColor;
33+
color: currentcolor;
3434
border: 4px solid;
3535
transform: scaleY(0.75);
3636
transform-origin: top;
@@ -66,7 +66,7 @@
6666
border-bottom-right-radius: 0;
6767
.@{ribbon-prefix-cls}-corner {
6868
right: 0;
69-
border-color: currentColor transparent transparent currentColor;
69+
border-color: currentcolor transparent transparent currentcolor;
7070
}
7171
}
7272

@@ -75,7 +75,7 @@
7575
border-bottom-left-radius: 0;
7676
.@{ribbon-prefix-cls}-corner {
7777
left: 0;
78-
border-color: currentColor currentColor transparent transparent;
78+
border-color: currentcolor currentcolor transparent transparent;
7979
}
8080
}
8181
}

components/badge/style/rtl.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
.@{ribbon-prefix-cls}-corner {
4343
right: unset;
4444
left: 0;
45-
border-color: currentColor currentColor transparent transparent;
45+
border-color: currentcolor currentcolor transparent transparent;
4646

4747
&::after {
48-
border-color: currentColor currentColor transparent transparent;
48+
border-color: currentcolor currentcolor transparent transparent;
4949
}
5050
}
5151
}
@@ -57,10 +57,10 @@
5757
.@{ribbon-prefix-cls}-corner {
5858
right: 0;
5959
left: unset;
60-
border-color: currentColor transparent transparent currentColor;
60+
border-color: currentcolor transparent transparent currentcolor;
6161

6262
&::after {
63-
border-color: currentColor transparent transparent currentColor;
63+
border-color: currentcolor transparent transparent currentcolor;
6464
}
6565
}
6666
}

components/button/style/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
&.@{iconfont-css-prefix}-plus,
154154
&.@{iconfont-css-prefix}-minus {
155155
> svg {
156-
shape-rendering: optimizeSpeed;
156+
shape-rendering: optimizespeed;
157157
}
158158
}
159159
}
@@ -256,7 +256,7 @@
256256
letter-spacing: 0.34em;
257257
}
258258

259-
&-block {
259+
&&-block {
260260
width: 100%;
261261
}
262262

components/button/style/mixin.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
// http://stackoverflow.com/a/17253457
2121
> a:only-child {
22-
color: currentColor;
22+
color: currentcolor;
2323

2424
&::after {
2525
position: absolute;

components/checkbox/style/mixin.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122

123123
.@{checkbox-prefix-cls}-input {
124124
cursor: not-allowed;
125+
pointer-events: none;
125126
}
126127

127128
.@{checkbox-inner-prefix-cls} {

components/date-picker/style/panel.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
display: inline-block;
102102
width: @picker-arrow-size;
103103
height: @picker-arrow-size;
104-
border: 0 solid currentColor;
104+
border: 0 solid currentcolor;
105105
border-width: 1.5px 0 0 1.5px;
106106
content: '';
107107
}
@@ -116,7 +116,7 @@
116116
display: inline-block;
117117
width: @picker-arrow-size;
118118
height: @picker-arrow-size;
119-
border: 0 solid currentColor;
119+
border: 0 solid currentcolor;
120120
border-width: 1.5px 0 0 1.5px;
121121
content: '';
122122
}

components/divider/style/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
top: -0.06em;
1414
display: inline-block;
1515
height: 0.9em;
16-
margin: 0 8px;
16+
margin: 0 @divider-vertical-gutter;
1717
vertical-align: middle;
1818
border-top: 0;
1919
border-left: @border-width-base solid @divider-color;

components/drawer/style/drawer.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@
134134
margin: 0;
135135
color: @heading-color;
136136
font-weight: 500;
137-
font-size: @font-size-lg;
138-
line-height: 22px;
137+
font-size: @drawer-title-font-size;
138+
line-height: @drawer-title-line-height;
139139
}
140140

141141
&-content {

components/dropdown/style/index.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@
199199
font-weight: normal;
200200
font-size: @dropdown-font-size;
201201
line-height: @dropdown-line-height;
202-
white-space: nowrap;
203202
cursor: pointer;
204203
transition: all @animation-duration-slow;
205204

@@ -217,7 +216,7 @@
217216

218217
&-selected {
219218
color: @dropdown-selected-color;
220-
background-color: @item-active-bg;
219+
background-color: @dropdown-selected-bg;
221220
}
222221

223222
&:hover {

components/form/style/horizontal.less

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
}
1010
.@{form-item-prefix-cls}-control {
1111
flex: 1 1 0;
12-
}
13-
// https://github.com/ant-design/ant-design/issues/32980
14-
.@{form-item-prefix-cls}-control:not(.@{ant-prefix}-col) {
1512
// https://github.com/ant-design/ant-design/issues/32777
13+
// https://github.com/ant-design/ant-design/issues/33773
1614
min-width: 0;
1715
}
16+
// https://github.com/ant-design/ant-design/issues/32980
17+
.@{form-item-prefix-cls}-label.@{ant-prefix}-col-24 + .@{form-item-prefix-cls}-control {
18+
min-width: unset;
19+
}
1820
}

0 commit comments

Comments
 (0)