update style of fess-ss
This commit is contained in:
parent
a67e2675d6
commit
ad5d393a85
3 changed files with 12 additions and 5 deletions
|
@ -66,7 +66,6 @@
|
|||
}
|
||||
.description {
|
||||
font-size: small;
|
||||
display: inline !important;
|
||||
}
|
||||
.title {
|
||||
line-height: 24px;
|
||||
|
@ -84,7 +83,6 @@
|
|||
}
|
||||
.description {
|
||||
font-size: small;
|
||||
display: inline !important;
|
||||
}
|
||||
.title {
|
||||
line-height: 24px;
|
||||
|
|
|
@ -4690,7 +4690,7 @@
|
|||
}
|
||||
|
||||
.media-body {
|
||||
width: 10000px;
|
||||
//width: 10000px;
|
||||
}
|
||||
|
||||
.media-left,
|
||||
|
|
|
@ -97,11 +97,20 @@ export default class {
|
|||
}
|
||||
|
||||
var paginationInfo = (function(){
|
||||
var pageWidth = function() {
|
||||
var width;
|
||||
if (window.matchMedia('( max-width : 47.9em)').matches) {
|
||||
width = 2;
|
||||
} else {
|
||||
width = 5;
|
||||
}
|
||||
return width;
|
||||
}();
|
||||
var allPageNum = Math.floor((recordCount - 1) / pageSize) + 1;
|
||||
var info = {};
|
||||
info.current = currentPage;
|
||||
info.min = (currentPage - 5) > 0 ? currentPage - 5 : 1;
|
||||
info.max = (currentPage + 5) < allPageNum ? currentPage + 5 : allPageNum;
|
||||
info.min = (currentPage - pageWidth) > 0 ? currentPage - pageWidth : 1;
|
||||
info.max = (currentPage + pageWidth) < allPageNum ? currentPage + pageWidth : allPageNum;
|
||||
return info;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue