@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/build/index.min.js +1 -1
- package/build/index.min.js.map +1 -1
- package/package.json +1 -1
- package/src/index.js +4 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -164,7 +164,10 @@ export const createBin = ({
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
const isMiniMode = computed(() =>
|
|
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
|