ERROR418 commited on
Commit
b5d112c
·
verified ·
1 Parent(s): 34f66b7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -1
index.html CHANGED
@@ -19,11 +19,14 @@
19
  border-radius: 5px;
20
  background-color: rgba(255, 255, 255, 0.6);
21
  transition: transform 0.3s, background-color 0.3s, opacity 0.3s;
22
- width: 250px;
23
  display: block;
24
  margin-left: auto;
25
  margin-right: auto;
26
  position: relative;
 
 
 
27
  }
28
  .address:hover {
29
  transform: scale(1.05);
 
19
  border-radius: 5px;
20
  background-color: rgba(255, 255, 255, 0.6);
21
  transition: transform 0.3s, background-color 0.3s, opacity 0.3s;
22
+ width: 400px; /* 增加宽度以适应长地址 */
23
  display: block;
24
  margin-left: auto;
25
  margin-right: auto;
26
  position: relative;
27
+ white-space: nowrap; /* 确保地址在一行显示 */
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
  }
31
  .address:hover {
32
  transform: scale(1.05);