Skip to content

Commit f2bd515

Browse files
committed
fix: correct var value
1 parent 4236ddc commit f2bd515

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/packages/inputnumber/doc.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The component provides the following CSS variables, which can be used to customi
146146
| \--nutui-inputnumber-input-font-size | The font size of the input in the number input box | `12px` |
147147
| \--nutui-inputnumber-input-border | The border value of the input in the number input box | `0` |
148148
| \--nutui-inputnumber-input-border-radius | The rounded corners of the input in the number input box | `4px` |
149-
| \--nutui-inputnumber-input-margin | The rounded corners of the input in the number input box | `2px` |
149+
| \--nutui-inputnumber-input-margin | The rounded corners of the input in the number input box | `0px` |
150150
| \--nutui-inputnumber-button-width | The width of the left and right buttons of the number input box | `20px` |
151151
| \--nutui-inputnumber-button-height | The height of the left and right buttons of the number input box | `20px` |
152152
| \--nutui-inputnumber-button-background-color | The background color of the left and right buttons of the number input box | `transparent` |

src/packages/inputnumber/doc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ import { InputNumber } from '@nutui/nutui-react'
146146
| \--nutui-inputnumber-input-font-size | 数字输入框中input的字号大小 | `12px` |
147147
| \--nutui-inputnumber-input-border | 数字输入框中input的border值 | `0` |
148148
| \--nutui-inputnumber-input-border-radius | 数字输入框中input的圆角 | `4px` |
149-
| \--nutui-inputnumber-input-margin | 数字输入框中input的margin值 | `2px` |
149+
| \--nutui-inputnumber-input-margin | 数字输入框中input的margin值 | `0px` |
150150
| \--nutui-inputnumber-button-width | 数字输入框左右按钮的宽度 | `20px` |
151151
| \--nutui-inputnumber-button-height | 数字输入框左右按钮的高度 | `20px` |
152152
| \--nutui-inputnumber-button-background-color | 数字输入框左右按钮的背景色 | `transparent` |

src/packages/inputnumber/doc.taro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ import { InputNumber } from '@nutui/nutui-react-taro'
138138
| \--nutui-inputnumber-input-font-size | 数字输入框中input的字号大小 | `12px` |
139139
| \--nutui-inputnumber-input-border | 数字输入框中input的border值 | `0` |
140140
| \--nutui-inputnumber-input-border-radius | 数字输入框中input的圆角 | `4px` |
141-
| \--nutui-inputnumber-input-margin | 数字输入框中input的margin值 | `2px` |
141+
| \--nutui-inputnumber-input-margin | 数字输入框中input的margin值 | `0px` |
142142
| \--nutui-inputnumber-button-width | 数字输入框左右按钮的宽度 | `20px` |
143143
| \--nutui-inputnumber-button-height | 数字输入框左右按钮的高度 | `20px` |
144144
| \--nutui-inputnumber-button-background-color | 数字输入框左右按钮的背景色 | `transparent` |

src/packages/inputnumber/doc.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ import { InputNumber } from '@nutui/nutui-react'
137137
| \--nutui-inputnumber-input-font-size | 數字輸入框中input的字號大小 | `12px` |
138138
| \--nutui-inputnumber-input-border | 數字輸入框中input的border值 | `0` |
139139
| \--nutui-inputnumber-input-border-radius | 數字輸入框中input的圓角 | `4px` |
140-
| \--nutui-inputnumber-input-margin | 數字輸入框中input的margin值 | `2px` |
140+
| \--nutui-inputnumber-input-margin | 數字輸入框中input的margin值 | `0px` |
141141
| \--nutui-inputnumber-button-width | 數字輸入框左右按鈕的寬度 | `20px` |
142142
| \--nutui-inputnumber-button-height | 數字輸入框左右按鈕的高度 | `20px` |
143143
| \--nutui-inputnumber-button-background-color | 數字輸入框左右按鈕的背景色 | `transparent` |

src/styles/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ $inputnumber-input-border-radius: var(
633633
--nutui-inputnumber-input-border-radius,
634634
4px
635635
) !default;
636-
$inputnumber-input-margin: var(--nutui-inputnumber-input-margin, 2px) !default;
636+
$inputnumber-input-margin: var(--nutui-inputnumber-input-margin, 0px) !default;
637637
$inputnumber-button-width: var(--nutui-inputnumber-button-width, 20px) !default;
638638
$inputnumber-button-height: var(
639639
--nutui-inputnumber-button-height,

0 commit comments

Comments
 (0)