mirror of https://github.com/ElemeFE/element
Table: fix cell style,fixed #204
parent
fc4262d3b4
commit
4b92796d8e
|
@ -5,6 +5,7 @@
|
||||||
*2016-XX-XX*
|
*2016-XX-XX*
|
||||||
|
|
||||||
- 修复 Tabs 切换后 Tab-panel 被销毁的问题
|
- 修复 Tabs 切换后 Tab-panel 被销毁的问题
|
||||||
|
- 修复 Table Cell 的样式, #204
|
||||||
|
|
||||||
### 1.0.0-rc.5
|
### 1.0.0-rc.5
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
& th {
|
& th {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
& th, td {
|
& th, td {
|
||||||
|
@ -57,7 +58,6 @@
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -102,10 +102,6 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
& td div {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
@e fixed {
|
@e fixed {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -180,7 +176,6 @@
|
||||||
& th > .cell {
|
& th > .cell {
|
||||||
position: relative;
|
position: relative;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
|
Loading…
Reference in New Issue