mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-30 13:13:25 +00:00
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:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user