Permalink
Browse files

fix: table overflow 表格溢出问题

  • Loading branch information...
MOxFIVE committed Mar 1, 2016
1 parent c01b544 commit c5c069f04072de95162f381d01d6c72a1e988a9c
Showing with 5 additions and 0 deletions.
  1. +3 −0 source/css/_partial/article.styl
  2. +2 −0 source/js/main.js
@@ -249,6 +249,9 @@
border-top: 1px solid #DDD;
border-bottom: 1px solid #FFF;
}
.table-area {
overflow: auto;
}
table{
width:100%;
max-width: 65em;
View
@@ -149,4 +149,6 @@ require([], function (){
$("#container .left-col .overlay").css({"background-color": colorList[id],"opacity": .3});
//移动端
$("#container #mobile-nav .overlay").css({"background-color": colorList[id],"opacity": .7});
$("table").wrap("<div class='table-area'></div>");
});

0 comments on commit c5c069f

Please sign in to comment.