界面滚动条优化
This commit is contained in:
@@ -22351,8 +22351,6 @@ Color library demo
|
||||
|
||||
background-color: #fff;
|
||||
|
||||
border-bottom: 1px solid #ddd;
|
||||
|
||||
text-align: center;
|
||||
|
||||
margin-top: -1px;
|
||||
|
||||
@@ -2225,8 +2225,12 @@ table th[class*="col-"] {
|
||||
background-color: #f8cace; }
|
||||
|
||||
.table-responsive {
|
||||
/* overflow-x: auto; */
|
||||
min-height: 0.01%; }
|
||||
overflow-x: auto;
|
||||
min-height: 0.01%;
|
||||
position: fixed;
|
||||
right: 14px;
|
||||
left: 14px;
|
||||
z-index: 1030; }
|
||||
@media screen and (max-width: 767px) {
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
$(function(){
|
||||
var height=document.documentElement.clientHeight;
|
||||
if($('.table-responsive')){
|
||||
$('.table-responsive').css({'height':height-105+'px'});
|
||||
}
|
||||
|
||||
//扩展jquery,增加全局函数
|
||||
$.ipcommon=function(){
|
||||
return {};
|
||||
@@ -1823,4 +1828,11 @@ var initCommIpVal=function(){
|
||||
}else{
|
||||
$.ipcommon.protocol=[];
|
||||
}
|
||||
}
|
||||
|
||||
window.onresize=function (){
|
||||
var height=document.documentElement.clientHeight;
|
||||
if($('.table-responsive')){
|
||||
$('.table-responsive').css({'height':height-105+'px'});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user