Merge pull request #74 from modelcontextprotocol/docs/safe-area-insets-comment

docs: remove "Mobile" from safeAreaInsets comment
This commit is contained in:
Jonathan Hefner 2025-12-05 17:13:11 -06:00 • committed by GitHub
commit 3d0a39b9b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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 */