mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-11 10:57:07 +00:00
fix(app): keep Explorer resize handles stretched through the dock
The shared frame moved the divider into an absolute column, leaving its horizontal handle without height. Restore the row so pointer drags reach it, preserving the existing resize and performance contract.
This commit is contained in:
@@ -55,7 +55,6 @@ import {
|
||||
} from "@/stores/workspace-layout-store";
|
||||
import type { WorkspaceTab } from "@/workspace-tabs/model";
|
||||
import { recordRenderProfileReasons, RenderProfile } from "@/utils/render-profiler";
|
||||
import { inlineUnistylesStyle } from "@/styles/unistyles-inline-style";
|
||||
import { isNative } from "@/constants/platform";
|
||||
|
||||
interface SplitContainerProps {
|
||||
|
||||
@@ -53,5 +53,5 @@ export function useExplorerGeometry({
|
||||
};
|
||||
}
|
||||
const styles = StyleSheet.create({
|
||||
resize: { position: "absolute", left: 0, top: 0, bottom: 0, zIndex: 2 },
|
||||
resize: { position: "absolute", left: 0, top: 0, bottom: 0, zIndex: 2, flexDirection: "row" },
|
||||
});
|
||||
|
||||
@@ -37,10 +37,9 @@ beforeEach(() => {
|
||||
});
|
||||
|
||||
describe("Explorer sidebar", () => {
|
||||
it("selects the Explorer shell from layout and split capabilities", () => {
|
||||
it("selects the Explorer shell from the form factor", () => {
|
||||
expect(resolveExplorerSidebarPresentation({ isCompact: true })).toBe("overlay");
|
||||
expect(resolveExplorerSidebarPresentation({ isCompact: false })).toBe("dock");
|
||||
expect(resolveExplorerSidebarPresentation({ isCompact: false })).toBe("dock");
|
||||
});
|
||||
|
||||
it("uses the same Explorer pane inside the compact overlay", () => {
|
||||
|
||||
Reference in New Issue
Block a user