@lemon-fe/components 0.1.128 → 0.1.130

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,9 +215,9 @@
215
215
 
216
216
  &-sub-item {
217
217
  box-sizing: border-box;
218
- width: 120px;
218
+ min-width: 120px;
219
219
  height: 40px;
220
- padding: 0 16px;
220
+ padding: 0 8px;
221
221
  color: rgba(51, 51, 51, 0.5);
222
222
  font-weight: 500;
223
223
  font-size: 14px;
@@ -225,13 +225,14 @@
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
- padding: 9px 4px 9px 16px;
235
+ padding: 9px 8px;
235
236
  color: rgba(51, 51, 51, 1);
236
237
  font-size: 14px;
237
238
  line-height: 40px;
@@ -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.130",
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": "aa14d0c951acdc5db1bd2246dfb4bf6200bf845d"
43
43
  }