Update app/templates/article.html
Browse files- app/templates/article.html +6 -12
app/templates/article.html
CHANGED
|
@@ -414,12 +414,13 @@
|
|
| 414 |
/* 聊天窗口移动端优化 */
|
| 415 |
.chat-window {
|
| 416 |
position: fixed;
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
left: 0;
|
| 420 |
-
width: 100%;
|
| 421 |
height: 90vh;
|
| 422 |
-
|
|
|
|
|
|
|
|
|
|
| 423 |
border-radius: 20px 20px 0 0;
|
| 424 |
transform-origin: bottom center;
|
| 425 |
}
|
|
@@ -481,13 +482,6 @@
|
|
| 481 |
.markdown-body pre {
|
| 482 |
-webkit-overflow-scrolling: touch;
|
| 483 |
}
|
| 484 |
-
|
| 485 |
-
/* 优化键盘弹出时的布局 */
|
| 486 |
-
@media (max-height: 600px) {
|
| 487 |
-
.chat-window {
|
| 488 |
-
height: 85vh;
|
| 489 |
-
}
|
| 490 |
-
}
|
| 491 |
}
|
| 492 |
</style>
|
| 493 |
{% endblock %}
|
|
|
|
| 414 |
/* 聊天窗口移动端优化 */
|
| 415 |
.chat-window {
|
| 416 |
position: fixed;
|
| 417 |
+
bottom: 20px;
|
| 418 |
+
width: 65vh;
|
|
|
|
|
|
|
| 419 |
height: 90vh;
|
| 420 |
+
left: 0;
|
| 421 |
+
right: 0;
|
| 422 |
+
margin-left: auto;
|
| 423 |
+
margin-right: auto;
|
| 424 |
border-radius: 20px 20px 0 0;
|
| 425 |
transform-origin: bottom center;
|
| 426 |
}
|
|
|
|
| 482 |
.markdown-body pre {
|
| 483 |
-webkit-overflow-scrolling: touch;
|
| 484 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 485 |
}
|
| 486 |
</style>
|
| 487 |
{% endblock %}
|