@lemon-fe/components 0.1.128 → 0.1.129

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.
@@ -215,7 +215,7 @@
215
215
 
216
216
  &-sub-item {
217
217
  box-sizing: border-box;
218
- width: 120px;
218
+ min-width: 120px;
219
219
  height: 40px;
220
220
  padding: 0 16px;
221
221
  color: rgba(51, 51, 51, 0.5);
@@ -225,11 +225,12 @@
225
225
  }
226
226
 
227
227
  &-item {
228
+ position: relative;
228
229
  display: flex;
229
230
  align-items: center;
230
231
  justify-content: space-between;
231
232
  box-sizing: border-box;
232
- width: 120px;
233
+ min-width: 120px;
233
234
  height: 40px;
234
235
  padding: 9px 4px 9px 16px;
235
236
  color: rgba(51, 51, 51, 1);
@@ -244,7 +245,13 @@
244
245
  }
245
246
 
246
247
  &-favorite {
248
+ position: absolute;
249
+ top: 50%;
250
+ right: 0;
247
251
  display: none;
252
+ padding: 0 4px;
253
+ background-color: inherit;
254
+ transform: translateY(-50%);
248
255
 
249
256
  &:hover {
250
257
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",
@@ -39,5 +39,5 @@
39
39
  "react": "^17.0.2",
40
40
  "react-dom": "^17.0.2"
41
41
  },
42
- "gitHead": "7315b7769bb67f06bff296eed5dbe4be3003e001"
42
+ "gitHead": "d144400d933c6e81b33d7be40ceba4928db5afab"
43
43
  }