assui 3.2.88 → 3.2.90

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.
@@ -1287,18 +1287,14 @@ html {
1287
1287
  top: 12px;
1288
1288
  left: 16px;
1289
1289
  z-index: 2;
1290
- width: 85%;
1291
- /* 必须设置固定宽度 */
1290
+ max-width: calc(100% - 32px);
1292
1291
  height: 20px;
1293
1292
  overflow: hidden;
1294
- /* 溢出隐藏 */
1295
1293
  color: #9e9e9e;
1296
1294
  font-size: 14px;
1297
1295
  line-height: 20px;
1298
1296
  white-space: nowrap;
1299
- /* 强制不换行 */
1300
1297
  text-overflow: ellipsis;
1301
- /* 超出部分显示省略号 */
1302
1298
  transform-origin: top left;
1303
1299
  cursor: text;
1304
1300
  transition: all 0.2s ease-out;
@@ -60,14 +60,14 @@
60
60
  top: 12px;
61
61
  left: 16px;
62
62
  z-index: 2;
63
- width: 85%; /* 必须设置固定宽度 */
63
+ max-width: calc( 100% - 32px);
64
64
  height: 20px;
65
- overflow: hidden; /* 溢出隐藏 */
65
+ overflow: hidden;
66
66
  color: @color_9aa5b5;
67
67
  font-size: @font-size-base;
68
68
  line-height: 20px;
69
- white-space: nowrap; /* 强制不换行 */
70
- text-overflow: ellipsis; /* 超出部分显示省略号 */
69
+ white-space: nowrap;
70
+ text-overflow: ellipsis;
71
71
  transform-origin: top left;
72
72
  cursor: text;
73
73
  transition: all 0.2s ease-out;
@@ -1287,18 +1287,14 @@ html {
1287
1287
  top: 12px;
1288
1288
  left: 16px;
1289
1289
  z-index: 2;
1290
- width: 85%;
1291
- /* 必须设置固定宽度 */
1290
+ max-width: calc(100% - 32px);
1292
1291
  height: 20px;
1293
1292
  overflow: hidden;
1294
- /* 溢出隐藏 */
1295
1293
  color: #9e9e9e;
1296
1294
  font-size: 14px;
1297
1295
  line-height: 20px;
1298
1296
  white-space: nowrap;
1299
- /* 强制不换行 */
1300
1297
  text-overflow: ellipsis;
1301
- /* 超出部分显示省略号 */
1302
1298
  transform-origin: top left;
1303
1299
  cursor: text;
1304
1300
  transition: all 0.2s ease-out;
@@ -60,14 +60,14 @@
60
60
  top: 12px;
61
61
  left: 16px;
62
62
  z-index: 2;
63
- width: 85%; /* 必须设置固定宽度 */
63
+ max-width: calc( 100% - 32px);
64
64
  height: 20px;
65
- overflow: hidden; /* 溢出隐藏 */
65
+ overflow: hidden;
66
66
  color: @color_9aa5b5;
67
67
  font-size: @font-size-base;
68
68
  line-height: 20px;
69
- white-space: nowrap; /* 强制不换行 */
70
- text-overflow: ellipsis; /* 超出部分显示省略号 */
69
+ white-space: nowrap;
70
+ text-overflow: ellipsis;
71
71
  transform-origin: top left;
72
72
  cursor: text;
73
73
  transition: all 0.2s ease-out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.2.88",
3
+ "version": "3.2.90",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",