We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb55476 commit 1cfc514Copy full SHA for 1cfc514
apps/desktop/src/routes/target-select-overlay.tsx
@@ -291,14 +291,11 @@ function Inner() {
291
if (isFullHeight) {
292
// Try to place on the right side
293
const rightSpace = window.innerWidth - (left + width);
294
- if (rightSpace >= ctrlW + margin) {
+ if (rightSpace >= ctrlW + margin)
295
return { position: "right" as const };
296
- }
297
298
// Try to place on the left side
299
- if (left >= ctrlW + margin) {
300
- return { position: "left" as const };
301
+ if (left >= ctrlW + margin) return { position: "left" as const };
302
303
// Fall back to inside at the bottom
304
return { position: "inside-bottom" as const };
0 commit comments