Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 928d9d3

Browse files
committed
Merge pull request gridstack#319 from rharriso/master
allow default sass values to be overridden
2 parents 44ed26d + c679b26 commit 928d9d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/gridstack-extra.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$gridstack-columns: 12;
1+
$gridstack-columns: 12 !default;
22

33
@mixin grid-stack-items($gridstack-columns) {
44
.grid-stack.grid-stack-#{$gridstack-columns} {

src/gridstack.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
$gridstack-columns: 12;
2-
$horizontal_padding: 20px;
3-
$vertical_padding: 20px;
4-
$animation_speed: .3s;
1+
$gridstack-columns: 12 !default;
2+
$horizontal_padding: 20px !default;
3+
$vertical_padding: 20px !default;
4+
$animation_speed: .3s !default;
55

66
@mixin vendor($property, $value...){
77
-webkit-#{$property}:$value;

0 commit comments

Comments
 (0)