fix(app): keep Explorer drag widths out of the shared stylesheet

Carry the existing inline sizing policy into the shared frame so pointer previews do not accumulate CSS rules.
This commit is contained in:
Mohamed Boudra
2026-10-19 17:03:16 +02:00
parent efcc9bb940
commit 33279b59c3
@@ -1,5 +1,6 @@
import { useCallback, useState } from "react";
import { View, StyleSheet } from "react-native";
import { inlineUnistylesStyle } from "@/styles/unistyles-inline-style";
import { ResizeHandle } from "@/components/resize-handle";
import {
resolveExplorerSidebarDockSizes,
@@ -33,7 +34,7 @@ export function useExplorerGeometry({
[containerWidth, onResize],
);
return {
frameStyle: { width: overlay ? undefined : requestedWidth },
frameStyle: inlineUnistylesStyle({ width: overlay ? undefined : requestedWidth }),
panelStyle: undefined,
resizeHandle: (
<View style={styles.resize}>