Skip to content

Commit c86acfe

Browse files
authored
Merge pull request #2256 from adumesny/master
removed `gs-min|max_w|h` attribute
2 parents e77579e + 5d24e85 commit c86acfe

File tree

10 files changed

+419
-799
lines changed

10 files changed

+419
-799
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ Better yet, here is a SASS code snippet which can make life much easier (Thanks
257257
@for $i from 0 through $gridstack-columns {
258258
&[gs-w='#{$i}'] { width: (100% / $gridstack-columns) * $i; }
259259
&[gs-x='#{$i}'] { left: (100% / $gridstack-columns) * $i; }
260-
&[gs-min-w='#{$i}'] { min-width: (100% / $gridstack-columns) * $i; }
261-
&[gs-max-w='#{$i}'] { max-width: (100% / $gridstack-columns) * $i; }
262260
}
263261
}
264262
```

doc/CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Change log
55
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
66
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
77

8+
- [7.3.0-dev (TBD)](#730-dev-tbd)
89
- [7.3.0 (2023-04-01)](#730-2023-04-01)
910
- [7.2.3 (2023-02-02)](#723-2023-02-02)
1011
- [7.2.2 (2023-01-16)](#722-2023-01-16)
@@ -82,6 +83,9 @@ Change log
8283

8384
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
8485

86+
## 7.3.0-dev (TBD)
87+
* feat [#2243](https://github.com/gridstack/gridstack.js/issues/2243) removed `gs-min|max_w|h` attribute generated in CSS or written out as they are never used for rendering, only for initial load. This reduce our column/row styles in half!
88+
8589
## 7.3.0 (2023-04-01)
8690
* feat [#2229](https://github.com/gridstack/gridstack.js/pull/2229) support nonce for CSP. Thank you [@jedwards1211](https://github.com/jedwards1211)
8791
* feat: support nested grids with Angular component demo. Thank you R. Blanken for supporting this.

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ gridstack.js API
5151
- [`isAreaEmpty(x, y, width, height)`](#isareaemptyx-y-width-height)
5252
- [`load(layout: GridStackWidget[], boolean | ((w: GridStackWidget, add: boolean) => void) = true)`](#loadlayout-gridstackwidget-boolean--w-gridstackwidget-add-boolean--void---true)
5353
- [`makeWidget(el)`](#makewidgetel)
54-
- [`makeSubGrid(el)`](#makeSubGrid)
54+
- [`makeSubgrid(el)`](#makesubgridel)
5555
- [`margin(value: numberOrString)`](#marginvalue-numberorstring)
5656
- [`movable(el, val)`](#movableel-val)
5757
- [`removeWidget(el, removeDOM = true, triggerEvent = true)`](#removewidgetel-removedom--true-triggerevent--true)

0 commit comments

Comments
 (0)