提交 0d3a8506 编写于 作者: P Peng Lyu

add styles to style.css

上级 5d0fd489
......@@ -16,15 +16,6 @@
<!-- Workbench Icon/Manifest/CSS -->
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="manifest" href="/manifest.json">
<style>
body.web {
touch-action: none;
}
.monaco-workbench.web {
touch-action: initial;
}
</style>
</head>
<body aria-label="">
......
......@@ -42,6 +42,11 @@ body {
body.web {
position: fixed; /* prevent bounce effect */
touch-action: none; /* prevent scrolling on body with touch */
}
.monaco-workbench.web {
touch-action: initial; /* reenable touch events on workbench */
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册