Update index.html
Browse files- index.html +15 -9
index.html
CHANGED
@@ -664,25 +664,31 @@
|
|
664 |
}
|
665 |
|
666 |
.sync-status {
|
667 |
-
position:
|
668 |
bottom: 60px;
|
669 |
left: 10px;
|
670 |
-
width:
|
671 |
-
height: 30px;
|
672 |
background-color: rgba(0, 0, 0, 0.7);
|
673 |
color: #64ffda;
|
674 |
-
padding:
|
675 |
border-radius: 3px;
|
676 |
font-size: 12px;
|
677 |
-
z-index:
|
678 |
display: flex;
|
679 |
align-items: center;
|
680 |
-
justify-content: center; /* 中央寄せ */
|
681 |
gap: 5px;
|
682 |
-
|
683 |
-
|
684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
685 |
}
|
|
|
686 |
|
687 |
.sync-status button {
|
688 |
background: none;
|
|
|
664 |
}
|
665 |
|
666 |
.sync-status {
|
667 |
+
position: absolute;
|
668 |
bottom: 60px;
|
669 |
left: 10px;
|
670 |
+
width: 150px; /* 固定幅 */
|
671 |
+
height: 30px; /* 固定高さ */
|
672 |
background-color: rgba(0, 0, 0, 0.7);
|
673 |
color: #64ffda;
|
674 |
+
padding: 5px 10px;
|
675 |
border-radius: 3px;
|
676 |
font-size: 12px;
|
677 |
+
z-index: 5;
|
678 |
display: flex;
|
679 |
align-items: center;
|
|
|
680 |
gap: 5px;
|
681 |
+
|
682 |
+
white-space: nowrap; /* 文字の折り返しを防止 */
|
683 |
+
overflow: hidden; /* 内容がはみ出す場合に隠す */
|
684 |
+
text-overflow: ellipsis; /* はみ出したテキストに「…」を表示(任意) */
|
685 |
+
user-select: none; /* テキストの選択を不可にする */
|
686 |
+
pointer-events: none; /* (任意)クリックなどの操作を無効にしたい場合 */
|
687 |
+
|
688 |
+
/* はみ出してもスクロールバーを出さない */
|
689 |
+
contain: strict; /* レイアウトの影響を最小限にする */
|
690 |
}
|
691 |
+
|
692 |
|
693 |
.sync-status button {
|
694 |
background: none;
|