ninegrid2 6.680.0 → 6.682.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121137,7 +121137,8 @@ class nxSplitter extends HTMLElement {
121137
121137
 
121138
121138
  if (this.#mode === "h") {
121139
121139
  prev.style.width = `${position}px`;
121140
- next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
121140
+ //next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
121141
+ next.style.width = `100%`;
121141
121142
  } else {
121142
121143
  prev.style.height = `${position}px`;
121143
121144
  next.style.height = `${parentRect.height - position - this.offsetHeight}px`;
@@ -121133,7 +121133,8 @@ class nxSplitter extends HTMLElement {
121133
121133
 
121134
121134
  if (this.#mode === "h") {
121135
121135
  prev.style.width = `${position}px`;
121136
- next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
121136
+ //next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
121137
+ next.style.width = `100%`;
121137
121138
  } else {
121138
121139
  prev.style.height = `${position}px`;
121139
121140
  next.style.height = `${parentRect.height - position - this.offsetHeight}px`;
@@ -92,7 +92,8 @@ class nxSplitter extends HTMLElement {
92
92
 
93
93
  if (this.#mode === "h") {
94
94
  prev.style.width = `${position}px`;
95
- next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
95
+ //next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
96
+ next.style.width = `100%`;
96
97
  } else {
97
98
  prev.style.height = `${position}px`;
98
99
  next.style.height = `${parentRect.height - position - this.offsetHeight}px`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.680.0",
4
+ "version": "6.682.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -92,7 +92,8 @@ class nxSplitter extends HTMLElement {
92
92
 
93
93
  if (this.#mode === "h") {
94
94
  prev.style.width = `${position}px`;
95
- next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
95
+ //next.style.width = `${parentRect.width - position - this.offsetWidth}px`;
96
+ next.style.width = `100%`;
96
97
  } else {
97
98
  prev.style.height = `${position}px`;
98
99
  next.style.height = `${parentRect.height - position - this.offsetHeight}px`;