antd-mobile 5.41.0-alpha.3 → 5.41.0-alpha.4

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.
@@ -5731,19 +5731,23 @@ a.adm-list-item:active:not(.adm-list-item-disabled):after {
5731
5731
 
5732
5732
  .adm-virtual-input-caret-container {
5733
5733
  display: inline-block;
5734
- width: var(--caret-width);
5734
+ width: 0;
5735
+ margin: 0;
5736
+ padding: 0;
5737
+ overflow: visible;
5735
5738
  height: 1.3em;
5736
5739
  vertical-align: top;
5737
- margin-right: 2px;
5738
- position: absolute;
5740
+ position: relative;
5739
5741
  }
5740
5742
 
5741
5743
  .adm-virtual-input-caret {
5742
- width: 100%;
5743
- height: 100%;
5744
+ width: var(--caret-width);
5745
+ height: 95%;
5744
5746
  background-color: var(--caret-color);
5745
- position: relative;
5747
+ position: absolute;
5746
5748
  top: 5%;
5749
+ left: 0;
5750
+ z-index: 1;
5747
5751
  }
5748
5752
 
5749
5753
  .adm-virtual-input:focus {
@@ -53,19 +53,23 @@
53
53
 
54
54
  .adm-virtual-input-caret-container {
55
55
  display: inline-block;
56
- width: var(--caret-width);
56
+ width: 0;
57
+ margin: 0;
58
+ padding: 0;
59
+ overflow: visible;
57
60
  height: 1.3em;
58
61
  vertical-align: top;
59
- margin-right: 2px;
60
- position: absolute;
62
+ position: relative;
61
63
  }
62
64
 
63
65
  .adm-virtual-input-caret {
64
- width: 100%;
65
- height: 100%;
66
+ width: var(--caret-width);
67
+ height: 95%;
66
68
  background-color: var(--caret-color);
67
- position: relative;
69
+ position: absolute;
68
70
  top: 5%;
71
+ left: 0;
72
+ z-index: 1;
69
73
  }
70
74
 
71
75
  .adm-virtual-input:focus {
@@ -53,19 +53,23 @@
53
53
 
54
54
  .adm-virtual-input-caret-container {
55
55
  display: inline-block;
56
- width: var(--caret-width);
56
+ width: 0;
57
+ margin: 0;
58
+ padding: 0;
59
+ overflow: visible;
57
60
  height: 1.3em;
58
61
  vertical-align: top;
59
- margin-right: 2px;
60
- position: absolute;
62
+ position: relative;
61
63
  }
62
64
 
63
65
  .adm-virtual-input-caret {
64
- width: 100%;
65
- height: 100%;
66
+ width: var(--caret-width);
67
+ height: 95%;
66
68
  background-color: var(--caret-color);
67
- position: relative;
69
+ position: absolute;
68
70
  top: 5%;
71
+ left: 0;
72
+ z-index: 1;
69
73
  }
70
74
 
71
75
  .adm-virtual-input:focus {
package/2x/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-mobile",
3
- "version": "5.41.0-alpha.3",
3
+ "version": "5.41.0-alpha.4",
4
4
  "homepage": "https://github.com/ant-design/ant-design-mobile#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/ant-design/ant-design-mobile/issues"