@potch/html-bin 2.1.0 → 2.1.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@potch/html-bin",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -164,7 +164,10 @@ export const createBin = ({
164
164
  }
165
165
  });
166
166
 
167
- const isMiniMode = computed(() => !splitMode || actualWidth.value <= 700);
167
+ const isMiniMode = computed(() => {
168
+ const w = actualWidth.value;
169
+ return !splitMode || w <= 700;
170
+ });
168
171
  const resizing = signal(false);
169
172
  const splitOverride = signal(
170
173
  splitMode && initialTab === "preview" ? 0 : null