feat(search): make Search Everywhere resizable from all edges and corners (#7373)

Search Everywhere opened at a fixed 700 px width with its height capped at 600 px, clipping long paths, containers and previews on wide monitors. Dialog's resizable="both" now resizes from all eight edges and corners (the opposite edge stays put), not only the bottom-right grip, and Search Everywhere uses it with a remembered size (openidea.search.everywhereSize.v1, clamped to its minimum). The other resizable dialogs get the edge handles too.

Covered by Dialog and Search Everywhere tests.

Co-authored-by: elfadl <[email protected]>
Цей коміт міститься в:
Kamal ElFadlтаelfadl authored and GitHub committed 2026-12-02 13:04:52 +08:00
1 джерело 54ce048ec9
коміт fdc4df4752
8 files changed
+408 -51

No files matched your search

+55
Переглянути файл
@@ -49,6 +49,7 @@
position: absolute;
right: 0;
bottom: 0;
z-index: 2;
width: 16px;
height: 16px;
cursor: nwse-resize;
@@ -69,6 +70,60 @@
.resizeGrip:hover {
opacity: 1;
}
.resizeEdge {
position: absolute;
z-index: 2;
touch-action: none;
}
.resizeN {
top: 0;
left: 10px;
right: 10px;
height: 4px;
cursor: ns-resize;
}
.resizeS {
bottom: 0;
left: 10px;
right: 16px;
height: 4px;
cursor: ns-resize;
}
.resizeW {
left: 0;
top: 10px;
bottom: 10px;
width: 4px;
cursor: ew-resize;
}
.resizeE {
right: 0;
top: 10px;
bottom: 16px;
width: 4px;
cursor: ew-resize;
}
.resizeNW {
top: 0;
left: 0;
width: 10px;
height: 10px;
cursor: nwse-resize;
}
.resizeNE {
top: 0;
right: 0;
width: 10px;
height: 10px;
cursor: nesw-resize;
}
.resizeSW {
bottom: 0;
left: 0;
width: 10px;
height: 10px;
cursor: nesw-resize;
}
/* Title bar (drag handle). macOS: traffic lights then the title; else title + close. */
.titleBar {