From 2e0a7b41ff454fbc0a0f8231038f4c53b2448b11 Mon Sep 17 00:00:00 2001 From: Anton Pidkuiko MacBook Date: Thu, 4 Dec 2025 11:30:16 +0000 Subject: [PATCH] docs: remove "Mobile" from safeAreaInsets comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Safe area insets apply on web as well, not just mobile devices. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- specification/draft/apps.mdx | 2 +- src/types.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/draft/apps.mdx b/specification/draft/apps.mdx index 90f7a933f..b00a9afa0 100644 --- a/specification/draft/apps.mdx +++ b/specification/draft/apps.mdx @@ -424,7 +424,7 @@ interface HostContext { touch?: boolean; hover?: boolean; } - /** Mobile safe area boundaries in pixels */ + /** Safe area boundaries in pixels */ safeAreaInsets?: { top: number; right: number; diff --git a/src/types.ts b/src/types.ts index 05a936d88..2f90f756d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -475,8 +475,8 @@ export interface McpUiHostContext { hover?: boolean; }; /** - * Mobile safe area boundaries in pixels. - * Used to avoid notches, rounded corners, and system UI on mobile devices. + * Safe area boundaries in pixels. + * Used to avoid notches, rounded corners, and system UI. */ safeAreaInsets?: { /** Top safe area inset in pixels */