soiz1 commited on
Commit
b9c4d9a
·
1 Parent(s): ef0caca

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +15 -9
index.html CHANGED
@@ -664,25 +664,31 @@
664
  }
665
 
666
  .sync-status {
667
- position: fixed; /* 位置を完全に固定 */
668
  bottom: 60px;
669
  left: 10px;
670
- width: 120px; /* 幅を固定 */
671
- height: 30px; /* 高さを固定 */
672
  background-color: rgba(0, 0, 0, 0.7);
673
  color: #64ffda;
674
- padding: 0 10px; /* パディングは横のみ */
675
  border-radius: 3px;
676
  font-size: 12px;
677
- z-index: 9999; /* 他要素より前に */
678
  display: flex;
679
  align-items: center;
680
- justify-content: center; /* 中央寄せ */
681
  gap: 5px;
682
- overflow: hidden; /* 内容がはみ出たら隠す */
683
- pointer-events: none; /* ドラッグなどの操作を防止したい場合 */
684
- user-select: none; /* テキスト選択禁止 */
 
 
 
 
 
 
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;