fix(mobile): header title overflow

This commit is contained in:
DIYgod
2025-03-26 12:58:44 +08:00
parent 9eb044e91a
commit 0bee60c02a
@@ -258,7 +258,10 @@ export const InternalNavigationHeader = ({
pointerEvents={"box-none"}
>
{/* Left */}
<View className="flex-1 flex-row items-center justify-start" pointerEvents={"box-none"}>
<View
className="min-w-6 flex-1 shrink-0 flex-row items-center justify-start"
pointerEvents={"box-none"}
>
{typeof HeaderLeft === "function" ? (
<HeaderLeft canGoBack={canBack} canDismiss={canDismiss} modal={sheetModal} />
) : (
@@ -279,7 +282,7 @@ export const InternalNavigationHeader = ({
{/* Right */}
<View
className="flex flex-1 shrink-0 flex-row items-center justify-end"
className="flex min-w-6 flex-1 shrink-0 flex-row items-center justify-end"
pointerEvents={"box-none"}
>
{typeof RightButton === "function" ? (