Skip to content

Commit 2e0a7b4

Browse files
antonpk1claude
andcommitted
docs: remove "Mobile" from safeAreaInsets comment
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 <[email protected]>
1 parent 7eac6f6 commit 2e0a7b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

specification/draft/apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ interface HostContext {
424424
touch?: boolean;
425425
hover?: boolean;
426426
}
427-
/** Mobile safe area boundaries in pixels */
427+
/** Safe area boundaries in pixels */
428428
safeAreaInsets?: {
429429
top: number;
430430
right: number;

src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ export interface McpUiHostContext {
475475
hover?: boolean;
476476
};
477477
/**
478-
* Mobile safe area boundaries in pixels.
479-
* Used to avoid notches, rounded corners, and system UI on mobile devices.
478+
* Safe area boundaries in pixels.
479+
* Used to avoid notches, rounded corners, and system UI.
480480
*/
481481
safeAreaInsets?: {
482482
/** Top safe area inset in pixels */

0 commit comments

Comments
 (0)