mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-11 01:14:42 +08:00
css
This commit is contained in:
parent
f4392c50b3
commit
f4f55e4c9b
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
// $Id$
|
||||
let dashid = null
|
||||
$(document).ready(function(){
|
||||
$('.chart-grid').height($(window).height() - 131)
|
||||
$('.chart-grid').height($(window).height() - 120)
|
||||
|
||||
let dlg = null
|
||||
$.get(rb.baseUrl + '/dashboard/dash-gets', ((res) => {
|
||||
|
@ -14,7 +14,7 @@ $(document).ready(function(){
|
|||
let rendered_charts = []
|
||||
$(window).resize(() => {
|
||||
$setTimeout(()=>{
|
||||
$('.chart-grid').height($(window).height() - 131)
|
||||
$('.chart-grid').height($(window).height() - 120)
|
||||
$(rendered_charts).each((idx, item)=>{ item.resize() })
|
||||
}, 200, 'resize-charts')
|
||||
})
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="${baseUrl}/assets/lib/charts/jquery.gridster.css">
|
||||
<link rel="stylesheet" type="text/css" href="${baseUrl}/assets/css/charts.css">
|
||||
<style type="text/css">
|
||||
.tools-bar{height:50px;padding:0 25px;padding-top:7px}
|
||||
.tools-bar{height:44px;padding:0 25px;padding-top:7px}
|
||||
.tools-bar h4{margin:10px 0}
|
||||
.chart-grid{overflow:scroll;overflow-x:hidden;padding:15px;padding-top:0;padding-right:9px}
|
||||
.gridster ul,.gridster ul>li{margin:0;padding:0}
|
||||
|
|
Loading…
Reference in a new issue