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

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +20 -14
index.html CHANGED
@@ -663,20 +663,26 @@
663
  display: none;
664
  }
665
 
666
- .sync-status {
667
- position: absolute;
668
- bottom: 60px;
669
- left: 10px;
670
- background-color: rgba(0, 0, 0, 0.7);
671
- color: #64ffda;
672
- padding: 5px 10px;
673
- border-radius: 3px;
674
- font-size: 12px;
675
- z-index: 5;
676
- display: flex;
677
- align-items: center;
678
- gap: 5px;
679
- }
 
 
 
 
 
 
680
 
681
  .sync-status button {
682
  background: none;
 
663
  display: none;
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;