JS: Fix generated code for .grid

This commit is contained in:
Lucas 2019-12-10 17:55:03 +07:00
parent bcf6d7c779
commit b90ffcd3e5
3 changed files with 4 additions and 3 deletions

View file

@ -53,6 +53,7 @@ Elegant styles for all natives HTML elements without `.classes` and dark mode au
- [Tooltips](https://picocss.com/docs/#tooltips) - [Tooltips](https://picocss.com/docs/#tooltips)
## Copyright and license ## Copyright and license
- Licensed under the [MIT License](https://github.com/picocss/pico/blob/master/LICENSE.md) - Licensed under the [MIT License](https://github.com/picocss/pico/blob/master/LICENSE.md)
- Openly inspired by [Bootstrap](https://github.com/twbs/bootstrap) ([MIT](https://github.com/twbs/bootstrap/blob/master/LICENSE)), [Spectre](https://github.com/picturepan2/spectre) ([MIT](https://github.com/picturepan2/spectre/blob/master/LICENSE)), [Wing](https://github.com/kbrsh/wing/) ([MIT](https://github.com/kbrsh/wing/blob/master/LICENSE)), [CSS Bed](https://github.com/ubershmekel/cssbed) & [Normalize](https://github.com/necolas/normalize.css/) ([MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md)) - Openly inspired by [Bootstrap](https://github.com/twbs/bootstrap) ([MIT](https://github.com/twbs/bootstrap/blob/master/LICENSE)), [Spectre](https://github.com/picturepan2/spectre) ([MIT](https://github.com/picturepan2/spectre/blob/master/LICENSE)), [Wing](https://github.com/kbrsh/wing/) ([MIT](https://github.com/kbrsh/wing/blob/master/LICENSE)), [CSS Bed](https://github.com/ubershmekel/cssbed) & [Normalize](https://github.com/necolas/normalize.css/) ([MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md))
- Library icons by [Feather](https://github.com/feathericons/feather) ([MIT](https://github.com/feathericons/feather/blob/master/LICENSE)) - Library icons by [Feather](https://github.com/feathericons/feather) ([MIT](https://github.com/feathericons/feather/blob/master/LICENSE))

File diff suppressed because one or more lines are too long

View file

@ -116,8 +116,8 @@
var colsHTML = ''; var colsHTML = '';
var colsCode = ''; var colsCode = '';
var colsCodePref = '&lt;<b>section</b> <i>class</i>=<u>"grid"</u>&gt;\n'; var colsCodePref = '&lt;<b>div</b> <i>class</i>=<u>"grid"</u>&gt;\n';
var colsCodeSuff = '&lt;/<b>section</b>&gt;'; var colsCodeSuff = '&lt;/<b>div</b>&gt;';
for (var i=0; i<cols; i++) { for (var i=0; i<cols; i++) {
colsHTML += '<div>' + (i+1) + '</div>'; colsHTML += '<div>' + (i+1) + '</div>';