修复自适应缩放在不同浏览器中的问题

This commit is contained in:
Cx330 committed 2026-08-13 17:56:52 +08:00
1 parent 53b8813bcb
commit ba8e653301
3 files changed
+109 -30

No files matched your search

+17 -1
View File
@@ -8,21 +8,37 @@
padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html {
width: 100%;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
display: block;
margin: 0;
padding: 0;
width: 100%;
background-color: #ffffff;
color: #333;
overflow-x: hidden;
}
#resume-wrapper {
width: 100%;
max-width: 100vw;
margin: 0 auto;
overflow: hidden;
}
#resume-scaler {
transform-origin: top left;
will-change: transform;
}
#resume {
width: 210mm;
margin: 0 auto;
transform-origin: top left;
}
#resume-scaler.is-scaled #resume {
margin: 0;
}
li {
line-height: 1.5;