Permalink
Browse files

style: white-space in table 表格内容换行

Nowrap in table header and first column.
表格标题行和第一列不换行。

#9
  • Loading branch information...
MOxFIVE committed Nov 27, 2015
1 parent 2670efc commit 4989205f11131f0e22697b1a2063cae66e8df7fc
Showing with 1 addition and 6 deletions.
  1. +1 −6 source/css/_partial/article.styl
@@ -281,11 +281,6 @@ line-height: 1.65em;
background: rgba(158, 188, 226, .2);
white-space: nowrap;
}
thead{
tr {
/*background: #f8f8f8;*/
}
}
tbody{
tr:hover{
background: #efefef;
@@ -298,7 +293,7 @@ line-height: 1.65em;
tr:nth-child(2n) {
background: rgba(158, 188, 226, .12);
}
td:nth-child(-n+3){
td:nth-child(1){
white-space: nowrap;
}
}

0 comments on commit 4989205

Please sign in to comment.