Skip to content

Commit a391304

Browse files
author
floyd_hawkes
committed
fix(gridster): changed the way widgets were getting positioned so that margins are actually the same size that the user specified all the way around the grid
feat(gridster): added responsive nature to grid
1 parent 3140374 commit a391304

11 files changed

+724
-170
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ gh-pages/
44
demo/
55
.idea
66
.DS_Store
7-
.idea
7+
*.iml

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = function(grunt) {
7070

7171
dist_demo: {
7272
files: {
73-
'gh-pages/dist/jquery.<%= pkg.name %>.min.js': ['<%= concat.dist_js.dest %>'],
73+
'gh-pages/dist/jquery.<%= pkg.name %>.min.js': ['<%= concat.dist_js.dest %>']
7474
}
7575
},
7676

dist/jquery.gridster.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! gridster.js - v0.5.6 - 2014-09-25
1+
/*! gridster.js - v1.1.0 - 2015-02-18
22
* http://gridster.net/
3-
* Copyright (c) 2014 ducksboard; Licensed MIT */
3+
* Copyright (c) 2015 decksterteam; Licensed */
44

55
.gridster {
66
position:relative;
@@ -20,6 +20,10 @@
2020
position: absolute;
2121
}
2222

23+
.gridster.collapsed .gs-w {
24+
position: static !important;
25+
}
26+
2327
.ready .gs-w:not(.preview-holder) {
2428
-webkit-transition: opacity .3s, left .3s, top .3s;
2529
-moz-transition: opacity .3s, left .3s, top .3s;

0 commit comments

Comments
 (0)