Skip to content

Commit e780d6f

Browse files
committed
trying to fix firefox android
1 parent 6ce5961 commit e780d6f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
66
<title>React2Shell (CVE-2025-55182) Visualization</title>
77
<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/favicon.svg" />
88
<!-- Local Fonts -->

src/lib/components/VideoControls.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,8 @@
10751075
border-radius: 0;
10761076
border-top: 1px solid var(--border);
10771077
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
1078+
/* Account for safe area on devices with gesture bars/notches */
1079+
padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
10781080
}
10791081
10801082
/* Show caption slot on mobile - positioned above the controls */

0 commit comments

Comments
 (0)