다른 사이트/브라우저에서도 똑같이 나타난다는 걸 확인 - macOS 트랙패드의 정상적인 "탄력 바운스" 동작이었음. 다만 지난번 overflow: hidden으로 막아버린 탓에, 브라우저가 우리 페이지를 진짜 스크롤 가능한 문서로 인식하지 못해서 바운스 시 body 배경색 대신 브라우저 기본색(파란색)이 드러났던 것으로 보임. overflow: hidden을 제거해서 다른 사이트들처럼 자연스럽게 바운스되면서 body의 실제 배경색(#EEF0F2)이 드러나게 함. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
62 lines
2.3 KiB
HTML
62 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!--
|
|
If you are serving your web app in a path other than the root, change the
|
|
href value below to reflect the base path you are serving from.
|
|
|
|
The path provided below has to start and end with a slash "/" in order for
|
|
it to work correctly.
|
|
|
|
For more details:
|
|
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
|
|
This is a placeholder for base href that will be replaced by the value of
|
|
the `--base-href` argument provided to `flutter build`.
|
|
-->
|
|
<base href="$FLUTTER_BASE_HREF">
|
|
|
|
<meta charset="UTF-8">
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
<meta name="description" content="A new Flutter project.">
|
|
<!-- 🎨 Safari 등 브라우저가 탭/툴바를 이 색으로 물들이는데, 예전 Flutter 기본 파란색
|
|
(#0175C2)이 그대로 남아있어서 스크롤 시 파랗게 보였다. 앱 색상으로 교체. -->
|
|
<meta name="theme-color" content="#1C1C1C">
|
|
<meta name="msapplication-navbutton-color" content="#1C1C1C">
|
|
|
|
<!-- iOS meta tags & icons -->
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="school_attendance">
|
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" type="image/png" href="favicon.png"/>
|
|
|
|
<title>school_attendance</title>
|
|
<link rel="manifest" href="manifest.json">
|
|
|
|
<!-- 🌊 다른 사이트들처럼 트랙패드로 스크롤 경계를 넘어 "바운스"할 때
|
|
엉뚱한 파란색이 아니라 우리 앱 배경색이 자연스럽게 드러나 보이게 한다.
|
|
(overflow: hidden으로 막아버리면 브라우저가 실제 스크롤 가능한 페이지로
|
|
인식하지 못해서, 바운스 시 배경색 대신 브라우저 기본색(파란색)이 나온다.) -->
|
|
<style>
|
|
html, body {
|
|
height: 100%;
|
|
background-color: #EEF0F2;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!--
|
|
You can customize the "flutter_bootstrap.js" script.
|
|
This is useful to provide a custom configuration to the Flutter loader
|
|
or to give the user feedback during the initialization process.
|
|
|
|
For more details:
|
|
* https://docs.flutter.dev/platform-integration/web/initialization
|
|
-->
|
|
<script src="flutter_bootstrap.js" async></script>
|
|
</body>
|
|
</html>
|