dev #2

Merged
linkong merged 5 commits from dev into main 2026-03-20 21:17:31 +00:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit d9a64f7768 - Show all commits

View File

@@ -4,6 +4,12 @@
box-sizing: border-box; box-sizing: border-box;
} }
html, body, #root {
width: 100%;
height: 100%;
overflow: hidden;
}
body { body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} }

View File

@@ -3,9 +3,10 @@ function Earth() {
<iframe <iframe
src="/earth/index.html" src="/earth/index.html"
style={{ style={{
width: '100vw', width: '100%',
height: '100vh', height: '100%',
border: 'none', border: 'none',
display: 'block',
}} }}
title="3D Earth" title="3D Earth"
/> />