Update index.html
Browse files- 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:
|
| 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);
|