Skip to content

Commit

Permalink
Merge pull request ElemeFE#216 from QingWei-Li/fix/table-style
Browse files Browse the repository at this point in the history
Table: fix cell style,fixed ElemeFE#204
  • Loading branch information
baiyaaaaa authored Oct 2, 2016
2 parents fc4262d + 4b92796 commit 73c5050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*2016-XX-XX*

- 修复 Tabs 切换后 Tab-panel 被销毁的问题
- 修复 Table Cell 的样式, #204

### 1.0.0-rc.5

Expand Down
7 changes: 1 addition & 6 deletions packages/theme-default/src/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@

& th {
white-space: nowrap;
overflow: hidden;
}

& th, td {
height: 20px;
max-width: 250px;
min-width: 0;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
position: relative;
Expand Down Expand Up @@ -102,10 +102,6 @@
box-sizing: border-box;
}

& td div {
display: block;
}

@e fixed {
position: absolute;
top: 0;
Expand Down Expand Up @@ -180,7 +176,6 @@
& th > .cell {
position: relative;
word-wrap: normal;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
line-height: 20px;
Expand Down

0 comments on commit 73c5050

Please sign in to comment.