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 <noreply@anthropic.com>
This commit is contained in:
parent
7eac6f6ae6
commit
2e0a7b41ff
2 changed files with 3 additions and 3 deletions
|
|
@ -424,7 +424,7 @@ interface HostContext {
|
||||||
touch?: boolean;
|
touch?: boolean;
|
||||||
hover?: boolean;
|
hover?: boolean;
|
||||||
}
|
}
|
||||||
/** Mobile safe area boundaries in pixels */
|
/** Safe area boundaries in pixels */
|
||||||
safeAreaInsets?: {
|
safeAreaInsets?: {
|
||||||
top: number;
|
top: number;
|
||||||
right: number;
|
right: number;
|
||||||
|
|
|
||||||
|
|
@ -475,8 +475,8 @@ export interface McpUiHostContext {
|
||||||
hover?: boolean;
|
hover?: boolean;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Mobile safe area boundaries in pixels.
|
* Safe area boundaries in pixels.
|
||||||
* Used to avoid notches, rounded corners, and system UI on mobile devices.
|
* Used to avoid notches, rounded corners, and system UI.
|
||||||
*/
|
*/
|
||||||
safeAreaInsets?: {
|
safeAreaInsets?: {
|
||||||
/** Top safe area inset in pixels */
|
/** Top safe area inset in pixels */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue