Skip to content

Commit e8a1f20

Browse files
committed
修改样式
1 parent bfac8e5 commit e8a1f20

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kne/info-page",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "一般用在复杂的详情展示页面,InfoPage提供了一个标准的展示信息的格式",
55
"syntax": {
66
"esmodules": true

src/TableView/style.module.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@
2020
}
2121

2222
background: var(--bg-color-grey-1);
23-
24-
.col {
25-
white-space: nowrap;
26-
}
2723
}
2824

2925
.body {
3026
.col {
3127
cursor: pointer;
28+
word-break: break-all;
3229
}
3330

3431
&.is-selected-all {
@@ -63,7 +60,7 @@
6360
.col {
6461
border-bottom: 1px solid #f0f0f0;
6562
transition: background-color 300ms;
66-
flex: var(--col-span) 0 var(--col-width);
63+
flex: var(--col-span) calc(1 / var(--col-span)) var(--col-width);
6764
overflow: hidden;
6865
display: flex;
6966
align-items: var(--col-align);

0 commit comments

Comments
 (0)