Skip to content

Commit bfe8264

Browse files
committed
fix(field-decorator): update small margin bottom to 0 for consistency
1 parent 4d20db0 commit bfe8264

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/varlet-ui/src/field-decorator/fieldDecorator.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
--field-decorator-standard-normal-icon-margin-bottom: 4px;
1717
--field-decorator-standard-normal-non-hint-margin-top: 4px;
1818
--field-decorator-standard-small-margin-top: 18px;
19-
--field-decorator-standard-small-margin-bottom: 4px;
19+
--field-decorator-standard-small-margin-bottom: 0;
2020
--field-decorator-standard-small-icon-margin-top: 18px;
2121
--field-decorator-standard-small-icon-margin-bottom: 4px;
2222
--field-decorator-standard-small-non-hint-margin-top: 2px;

packages/varlet-ui/src/input/docs/en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Here are the CSS variables used by the component. Styles can be customized using
276276
| `--field-decorator-standard-normal-icon-margin-bottom` | `4px` |
277277
| `--field-decorator-standard-normal-non-hint-margin-top` | `4px` |
278278
| `--field-decorator-standard-small-margin-top` | `18px` |
279-
| `--field-decorator-standard-small-margin-bottom` | `4px` |
279+
| `--field-decorator-standard-small-margin-bottom` | `0` |
280280
| `--field-decorator-standard-small-icon-margin-top` | `18px` |
281281
| `--field-decorator-standard-small-icon-margin-bottom` | `4px` |
282282
| `--field-decorator-standard-small-non-hint-margin-top` | `2px` |

packages/varlet-ui/src/input/docs/zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ const filledValue13 = ref('')
276276
| `--field-decorator-standard-normal-icon-margin-bottom` | `4px` |
277277
| `--field-decorator-standard-normal-non-hint-margin-top` | `4px` |
278278
| `--field-decorator-standard-small-margin-top` | `18px` |
279-
| `--field-decorator-standard-small-margin-bottom` | `4px` |
279+
| `--field-decorator-standard-small-margin-bottom` | `0` |
280280
| `--field-decorator-standard-small-icon-margin-top` | `18px` |
281281
| `--field-decorator-standard-small-icon-margin-bottom` | `4px` |
282282
| `--field-decorator-standard-small-non-hint-margin-top` | `2px` |

packages/varlet-ui/src/themes/dark/fieldDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
'--field-decorator-standard-normal-icon-margin-bottom': '4px',
1616
'--field-decorator-standard-normal-non-hint-margin-top': '4px',
1717
'--field-decorator-standard-small-margin-top': '18px',
18-
'--field-decorator-standard-small-margin-bottom': '4px',
18+
'--field-decorator-standard-small-margin-bottom': '0',
1919
'--field-decorator-standard-small-icon-margin-top': '18px',
2020
'--field-decorator-standard-small-icon-margin-bottom': '4px',
2121
'--field-decorator-standard-small-non-hint-margin-top': '2px',

packages/varlet-ui/src/themes/md3-dark/fieldDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
'--field-decorator-standard-normal-icon-margin-bottom': '4px',
1616
'--field-decorator-standard-normal-non-hint-margin-top': '4px',
1717
'--field-decorator-standard-small-margin-top': '18px',
18-
'--field-decorator-standard-small-margin-bottom': '4px',
18+
'--field-decorator-standard-small-margin-bottom': '0',
1919
'--field-decorator-standard-small-icon-margin-top': '18px',
2020
'--field-decorator-standard-small-icon-margin-bottom': '4px',
2121
'--field-decorator-standard-small-non-hint-margin-top': '2px',

packages/varlet-ui/src/themes/md3-light/fieldDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
'--field-decorator-standard-normal-icon-margin-bottom': '4px',
1616
'--field-decorator-standard-normal-non-hint-margin-top': '4px',
1717
'--field-decorator-standard-small-margin-top': '18px',
18-
'--field-decorator-standard-small-margin-bottom': '4px',
18+
'--field-decorator-standard-small-margin-bottom': '0',
1919
'--field-decorator-standard-small-icon-margin-top': '18px',
2020
'--field-decorator-standard-small-icon-margin-bottom': '4px',
2121
'--field-decorator-standard-small-non-hint-margin-top': '2px',

0 commit comments

Comments
 (0)