Skip to content

Commit 498c1df

Browse files
authored
Merge pull request #1725 from adumesny/master
item gs-x:0 not animating fix
2 parents 307afa1 + 501a92e commit 498c1df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Change log
5757
## 4.2.0-dev
5858

5959
- fix [#1700](https://github.com/gridstack/gridstack.js/issues/1700) JQ nested grid drag fix broken in 4.0.3 (but much older underlying issue)
60+
- fix [#1678](https://github.com/gridstack/gridstack.js/issues/1678) item gs-x:0 not animating fix
6061

6162
## 4.2.0 (2021-4-11)
6263

src/gridstack.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ $animation_speed: .3s !default;
9696
}
9797
}
9898

99-
@for $i from 1 through $gridstack-columns {
99+
@for $i from 0 through $gridstack-columns {
100100
&[gs-w='#{$i}'] { width: (100% / $gridstack-columns) * $i; }
101101
&[gs-x='#{$i}'] { left: (100% / $gridstack-columns) * $i; }
102102
&[gs-min-w='#{$i}'] { min-width: (100% / $gridstack-columns) * $i; }

0 commit comments

Comments
 (0)