diff --git a/src/app/[orgId]/settings/resources/public/ProxyResourceTargetsForm.tsx b/src/app/[orgId]/settings/resources/public/ProxyResourceTargetsForm.tsx
index 04a92ace6..482cbc97e 100644
--- a/src/app/[orgId]/settings/resources/public/ProxyResourceTargetsForm.tsx
+++ b/src/app/[orgId]/settings/resources/public/ProxyResourceTargetsForm.tsx
@@ -40,6 +40,7 @@ import type { ResourceContextType } from "@app/contexts/resourceContext";
import { useEnvContext } from "@app/hooks/useEnvContext";
import { toast } from "@app/hooks/useToast";
import { createApiClient } from "@app/lib/api";
+import { cn } from "@app/lib/cn";
import { formatAxiosError } from "@app/lib/api/formatAxiosError";
import { DockerManager, DockerState } from "@app/lib/docker";
import { orgQueries, resourceQueries, aiProviderQueries } from "@app/lib/queries";
@@ -959,28 +960,32 @@ export const ProxyResourceTargetsForm = forwardRef<
- {hasTargets && (
-
-
- {addTargetButton}
- {!disableAdvancedMode && (
-
-
-
-
- )}
-
+ {/* The empty state (and its add button) is hidden on mobile, so always show the add button there */}
+
+
+ {addTargetButton}
+ {hasTargets && !disableAdvancedMode && (
+
+
+
+
+ )}
- )}
+
{build === "saas" &&
!isAiProvider &&
targets.length > 1 &&
diff --git a/src/components/resource-policy/PolicyAccessRulesSection.tsx b/src/components/resource-policy/PolicyAccessRulesSection.tsx
index bd735f9b5..ea12e9bef 100644
--- a/src/components/resource-policy/PolicyAccessRulesSection.tsx
+++ b/src/components/resource-policy/PolicyAccessRulesSection.tsx
@@ -37,6 +37,7 @@ import {
import { UseFormReturn, useForm, useWatch } from "react-hook-form";
import { useResourcePolicyContext } from "@app/providers/ResourcePolicyProvider";
import { createApiClient, formatAxiosError } from "@app/lib/api";
+import { cn } from "@app/lib/cn";
import { useEnvContext } from "@app/hooks/useEnvContext";
import { resourceQueries } from "@app/lib/queries";
import { useQuery } from "@tanstack/react-query";
@@ -174,7 +175,10 @@ function PolicyAccessRulesSectionLayout({
resourceOverlayMode={resourceOverlayMode}
emptyStateAction={addRuleButton}
/>
- {hasRules && addRuleButton}
+ {/* The empty state (and its add button) is hidden on mobile, so always show the add button there */}
+
+ {addRuleButton}
+
>
)}