We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fce05c6 commit 6275eecCopy full SHA for 6275eec
src/view/ui/Content.svelte
@@ -229,7 +229,7 @@
229
targets.forEach((b) => {
230
temp.appendChild(b.cloneNode(true));
231
}, 0);
232
- const splitHeight = Math.min(temp.clientHeight / 2, 600);
+ const splitHeight = Math.min(Math.max(temp.clientHeight / 2, 600), 600);
233
234
temp.detach();
235
if (columns == 1) {
@@ -240,7 +240,7 @@
240
for (let target of targets) {
241
columnEl.appendChild(target);
242
if (
243
- columnEl.clientHeight + target.clientHeight > splitHeight &&
+ columnEl.clientHeight > splitHeight &&
244
node.childElementCount != columns
245
) {
246
target.detach();
@@ -249,7 +249,6 @@
249
}
250
251
};
252
- const attachTarget = (column: HTMLElement, target: HTMLElement) => {};
253
254
let content: HTMLElement;
255
0 commit comments