Project

General

Profile

« Previous | Next » 

Revision e75ad04b

Added by Tomer Brisker over 8 years ago

Fixes #12418 - Correct dashboard behaviour for updated gridster

Updated version of gridster changed the widget class from gs_w to gs-w:
https://github.com/ducksboard/gridster.js/commit/c1668d9ab6261d3c5dc4215abdb73ca516492c19
This led to a bit of breakage in css and js which is fixed by this commit.
There was also a change in the way the total width of the gridster
element was calculated that required a change to the initialization.

View differences:

app/assets/stylesheets/gridster.scss
.gridster ul{
padding-left: 0;
list-style: none;
max-width: 100%;
}
$col-margin-left: 15px;
......
}
}
.gs_w {
.gs-w {
padding: 19px;
margin-bottom: 10px;
border: 1px solid #e3e3e3;

Also available in: Unified diff