Skip to content

Commit 4d72b5e

Browse files
committed
formatting fixes + reverted to 12 col
1 parent fc71297 commit 4d72b5e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# gridstack.js
1+
be# gridstack.js
22

33
[![NPM version](https://img.shields.io/npm/v/gridstack.svg)](https://www.npmjs.com/package/gridstack)
44
[![Coverage Status](https://coveralls.io/repos/github/gridstack/gridstack.js/badge.svg?branch=develop)](https://coveralls.io/github/gridstack/gridstack.js?branch=develop)
@@ -248,17 +248,13 @@ Better yet, here is a SASS code snippet which can make life much easier (Thanks
248248

249249
```sass
250250
.grid-stack > .grid-stack-item {
251-
$gridstack-columns: 2;
251+
$gridstack-columns: 12;
252252
253253
min-width: calc(100% / $gridstack-columns);
254254
255255
@for $i from 0 through $gridstack-columns {
256-
&[gs-w='#{$i}'] {
257-
width: (calc(100% / $gridstack-columns)) * $i;
258-
}
259-
&[gs-x='#{$i}'] {
260-
left: (calc(100% / $gridstack-columns)) * $i;
261-
}
256+
&[gs-w='#{$i}'] { width: (calc(100% / $gridstack-columns)) * $i; }
257+
&[gs-x='#{$i}'] { left: (calc(100% / $gridstack-columns)) * $i; }
262258
}
263259
}
264260
```

0 commit comments

Comments
 (0)