@jiaozhiye/qm-design-react 1.3.0-beta.22 → 1.3.0-beta.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.
@@ -111,6 +111,7 @@ export declare type IFormItem = {
111
111
  step?: number;
112
112
  min?: number;
113
113
  max?: number;
114
+ textAlign?: ILabelAlign | 'center';
114
115
  controls?: boolean;
115
116
  precision?: number;
116
117
  formatter?: (value: number | string) => string;
@@ -15,11 +15,18 @@
15
15
  .ant-form-item-label {
16
16
  & > label[title=''] {
17
17
  width: 100%;
18
+ .ant-select {
19
+ text-align: left;
20
+ }
18
21
  }
19
22
  &-wrap {
20
23
  line-height: 1.075;
21
24
  }
22
25
  }
26
+ // placeholder
27
+ input::placeholder {
28
+ text-align: left;
29
+ }
23
30
  // ant-form-inline
24
31
  &-with-help {
25
32
  margin-bottom: @--margin-md + 2px;
@@ -66,6 +73,17 @@
66
73
  .ant-select {
67
74
  width: 100%;
68
75
  }
76
+ // input number
77
+ .ant-input-number.right {
78
+ input {
79
+ text-align: right;
80
+ }
81
+ &.controls {
82
+ input {
83
+ padding-right: 30px;
84
+ }
85
+ }
86
+ }
69
87
  // range input
70
88
  .site-input-left {
71
89
  border-right-width: 0;