Spaces:
Sleeping
Sleeping
RWD
Browse files
app.py
CHANGED
|
@@ -1286,6 +1286,26 @@ def get_key_moments_html(key_moments):
|
|
| 1286 |
position: absolute;
|
| 1287 |
width: 1px;
|
| 1288 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1289 |
</style>
|
| 1290 |
"""
|
| 1291 |
|
|
|
|
| 1286 |
position: absolute;
|
| 1287 |
width: 1px;
|
| 1288 |
}
|
| 1289 |
+
|
| 1290 |
+
@media (max-width: 768px) {
|
| 1291 |
+
#gallery-main {
|
| 1292 |
+
flex-direction: column; /* 在小屏幕上堆叠元素 */
|
| 1293 |
+
}
|
| 1294 |
+
|
| 1295 |
+
#gallery {
|
| 1296 |
+
width: 100%; /* 让画廊占满整个容器宽度 */
|
| 1297 |
+
}
|
| 1298 |
+
|
| 1299 |
+
#text-content {
|
| 1300 |
+
margin-left: 0; /* 移除左边距,让文本内容占满宽度 */
|
| 1301 |
+
margin-top: 20px; /* 为文本内容添加顶部间距 */
|
| 1302 |
+
}
|
| 1303 |
+
|
| 1304 |
+
#gallery #gallery-container {
|
| 1305 |
+
height: 350px; /* 或者你可以设置一个固定的高度,而不是用 padding-bottom */
|
| 1306 |
+
padding-bottom: 0; /* 移除底部填充 */
|
| 1307 |
+
}
|
| 1308 |
+
}
|
| 1309 |
</style>
|
| 1310 |
"""
|
| 1311 |
|