Skip to content

Commit 9dec20b

Browse files
committed
読み込み中の表示を追加
1 parent 11c7192 commit 9dec20b

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

curve_editor/ui/src/index.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,28 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<style>
7+
#root {
8+
background-color: rgb(244, 244, 244);
9+
color: rgb(128, 128, 128);
10+
height: 100%;
11+
display: flex;
12+
font-family: system-ui, sans-serif;
13+
}
14+
.loading {
15+
margin: auto;
16+
}
17+
@media (prefers-color-scheme: dark) {
18+
#root {
19+
background-color: rgb(33, 33, 33);
20+
}
21+
}
22+
</style>
623
</head>
724
<body style="margin:0;height:100%;">
8-
<div id="root" style="height:100%;"></div>
25+
<div id="root">
26+
<div class="loading">読み込み中...</div>
27+
</div>
928
<script src="js/bundle.js"></script>
1029
</body>
1130
</html>

0 commit comments

Comments
 (0)